Skip to content

Instantly share code, notes, and snippets.

@ipondroid
Created July 25, 2019 05:13
Show Gist options
  • Save ipondroid/62043480d14e048fd938e8ed969c0c27 to your computer and use it in GitHub Desktop.
Save ipondroid/62043480d14e048fd938e8ed969c0c27 to your computer and use it in GitHub Desktop.
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
initialRoute: '/',
routes: {
'/': (BuildContext context) => HomePage(),
'/page1': (BuildContext context) => Page1(),
'/page4': (BuildContext context) => Page4(),
},
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment