Created
April 27, 2019 10:21
-
-
Save SAGARSURI/74ab475e433d717b91b5630ade320870 to your computer and use it in GitHub Desktop.
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:flutter/material.dart'; | |
import 'ui/login.dart'; | |
import 'blocs/goals_bloc_provider.dart'; | |
import 'blocs/login_bloc_provider.dart'; | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return LoginBlocProvider( | |
child: GoalsBlocProvider( | |
child: MaterialApp( | |
theme: ThemeData( | |
accentColor: Colors.black, | |
primaryColor: Colors.amber, | |
), | |
home: Scaffold( | |
appBar: AppBar( | |
title: Text( | |
"Goals", | |
style: TextStyle(color: Colors.black), | |
), | |
backgroundColor: Colors.amber, | |
elevation: 0.0, | |
), | |
body: LoginScreen(), | |
), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment