implemented handling_routes example

This commit is contained in:
Nishant Srivastava
2017-08-09 01:26:57 -07:00
parent 138cf3f84b
commit eca94f4222
51 changed files with 1417 additions and 0 deletions

View File

@ -0,0 +1,15 @@
import 'package:flutter/material.dart';
import './AboutPage.dart';
import './HomePage.dart';
void main() {
runApp(new MaterialApp(
home: new HomePage(),
// Setup routes
routes: <String, WidgetBuilder>{
// Set named routes
"/about": (BuildContext context) => new AboutPage(),
},
));
}