-
-
Save ijoschek/8e071c672f5de7f1389e12694ab1fa03 to your computer and use it in GitHub Desktop.
flutter_nav_tut
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
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