Created
March 23, 2023 01:03
-
-
Save yuki2021/15445c2e6338bd810533d130fa214b29 to your computer and use it in GitHub Desktop.
Flutterのtestで、ProviderScopeの中で使われているRiverpodのProviderを横取りする。
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 baseInfoDataController = ProviderScope.containerOf( | |
widgetTester.element(find.byType(MaterialApp))) | |
.read(baseInfoRegisterDataProvider.notifier); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment