Created
August 18, 2022 00:00
-
-
Save gausoft/d8748f4d4ebe5d830bacef57d1ab3838 to your computer and use it in GitHub Desktop.
Wrapp ProviderScope arrond Root Widget
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
// main.dart | |
void main() { | |
runApp( | |
/// A widget that stores | |
/// the state of providers. | |
const ProviderScope( | |
child: MyApp(), | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment