Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ashishkarki/62703026541c92f700a4f0f94f6f91fb to your computer and use it in GitHub Desktop.
Save ashishkarki/62703026541c92f700a4f0f94f6f91fb to your computer and use it in GitHub Desktop.
void main() {
runApp(
MaterialApp(
home: Center(
child: Text('Hello there ashish'),
),
routes: {
WidgetA.routeName: (context) => WidgetA(),
WidgetB.routeName: (context) => WidgetB(),
},
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment