Skip to content

Instantly share code, notes, and snippets.

@ijoschek

ijoschek/.\lib\main.dart Secret

Last active Apr 7, 2019
Embed
What would you like to do?
flutter_nav_tut
// ...
class Main extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
// ...
home: MainPage(),
routes: {
'/newPage': (context) => NewPage(),
},
);
}
}
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment