Last active
July 9, 2018 08:52
-
-
Save xrnd/50654b5e168464fb706088804d08858e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| void main() => runApp(new MyApp()); | |
| class MyApp extends StatelessWidget { | |
| // This widget is the root of your application. | |
| @override | |
| Widget build(BuildContext context) { | |
| return new MaterialApp( | |
| title: 'Management App', | |
| theme: defaultTargetPlatform == TargetPlatform.iOS | |
| ? Themes.kIOSTheme | |
| : Themes.kDefaultTheme, | |
| home: SplashScreen(), | |
| routes: <String, WidgetBuilder> { | |
| '/screen1': (BuildContext context) => new Screen1(), | |
| '/screen2' : (BuildContext context) => new Screen2(), | |
| }, | |
| ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment