Created
August 25, 2019 01:42
-
-
Save md-weber/4366e801ec443f47d70b70392dfcbcfb to your computer and use it in GitHub Desktop.
Digital Journal -
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
import 'package:client/paths.dart'; | |
import 'package:client/provider-setup.dart'; | |
import 'package:client/ui/pages/home.page.dart'; | |
import 'package:client/ui/router.dart'; | |
import 'package:flutter_web/cupertino.dart'; | |
import 'package:flutter_web/material.dart'; | |
import 'package:provider/provider.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MultiProvider( | |
providers: providers, | |
child: MaterialApp( | |
title: 'Flutter Digital Journal', | |
theme: ThemeData(primarySwatch: Colors.blue, fontFamily: "Roboto"), | |
initialRoute: RoutePaths.Login, | |
onGenerateRoute: Router.generateRoute, | |
home: MyHomePage(title: 'Flutter Digital Journal - Chingu Prework'), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment