Last active
April 3, 2020 00:28
-
-
Save VB10/06fc7de6036968566e45cb43cbdf0d7e to your computer and use it in GitHub Desktop.
Shoppi - Main
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(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MultiProvider( | |
| providers: [ | |
| ChangeNotifierProvider(create: (_) => ProductListNotifier()), | |
| ], | |
| child: MaterialApp( | |
| theme: myTheme, | |
| home: ShopView(), | |
| ), | |
| ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment