Skip to content

Instantly share code, notes, and snippets.

@mutant0113
Created June 26, 2022 09:29
Show Gist options
  • Select an option

  • Save mutant0113/e0aa31f6dbd6f31d6fa1f09bad8f8167 to your computer and use it in GitHub Desktop.

Select an option

Save mutant0113/e0aa31f6dbd6f31d6fa1f09bad8f8167 to your computer and use it in GitHub Desktop.
binding_trace_action.dart
// 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