Created
June 26, 2022 09:29
-
-
Save mutant0113/e0aa31f6dbd6f31d6fa1f09bad8f8167 to your computer and use it in GitHub Desktop.
binding_trace_action.dart
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
| // Record the performance of the app. | |
| await binding.traceAction( | |
| () async { | |
| // Scroll until the item to be found appears. | |
| await tester.scrollUntilVisible( | |
| itemFinder, | |
| 500.0, | |
| scrollable: listFinder, | |
| ); | |
| }, | |
| // Store the report as `scrolling_timeline` file. | |
| reportKey: 'scrolling_timeline', | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment