Created
April 5, 2021 13:09
-
-
Save tomaszpolanski/1ae720e7933acb0156fdf2d979584b87 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 finder = find.text('Done'); | |
for (int i = 0; i < 10; i++) { | |
await tester.pump(const Duration(seconds: 1)); | |
if (findsOneWidget.matches(finder, {})) { | |
break; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment