Last active
November 3, 2020 04:40
-
-
Save chimon2000/c2c02ceea1622e0219db4896f57d6dd1 to your computer and use it in GitHub Desktop.
Revisions
-
chimon2000 revised this gist
Nov 3, 2020 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ void main() { // For widgets to be able to read providers, we need to wrap the entire // application in a "BlocProvider" widget. // This is where the state of our NotesCubit will be stored. runApp(BlocProvider<NotesCubit>(create: (_) => NotesCubit(), child: App())); } -
chimon2000 created this gist
Nov 3, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ void main() { runApp(BlocProvider<NotesCubit>(create: (_) => NotesCubit(), child: App())); }