Created
November 3, 2022 02:13
-
-
Save daiki1003/386483004b65ba462012f1cb3b45d7ed 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
final valueProvider = Provider( | |
(ref) => 1, | |
); | |
void main() { | |
runApp( | |
ProviderScope( | |
overrides: [ | |
valueProvider.overrideWith( | |
(ref) => 2, | |
), | |
], | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment