Last active
October 26, 2022 09:28
-
-
Save bartekpacia/09804f3fdd44eaae4189e71cdccb5f58 to your computer and use it in GitHub Desktop.
Bug repro.
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
patrolTest( | |
'never settles when an invisible child of IndexedStack is requesting frames', | |
($) async { | |
await expectLater( | |
() async => $.pumpWidgetAndSettle( | |
MaterialApp( | |
home: Scaffold( | |
body: IndexedStack( | |
children: const [ | |
Center(child: Text('first child')), | |
Center(child: CircularProgressIndicator()) | |
], | |
), | |
), | |
), | |
), | |
throwsA( | |
isA<AssertionError>().having( | |
(err) => err.message, | |
'message', | |
'pumpAndSettle timed out', | |
), | |
), | |
); | |
}, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment