Skip to content

Commit

Permalink
[web_benchmarks] add ignore unnecessary_non_null_assertion for Scroll…
Browse files Browse the repository at this point in the history
…able.of (#2765)
  • Loading branch information
Chris Yang authored Nov 2, 2022
1 parent bdc07b6 commit 47497f9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class ScrollRecorder extends AppRecorder {
@override
Future<void> automate() async {
final ScrollableState scrollable =
// TODO(cyanglaz): Fix the unnecessary non null assertion when https://github.com/flutter/flutter/commit/37b72342b0ce86fbfc238a9d43e524608b89af3a is on stable,
// https://github.com/flutter/flutter/issues/114434
//ignore: unnecessary_non_null_assertion
Scrollable.of(find.byKey(textKey).evaluate().single)!;
await scrollable.position.animateTo(
30000,
Expand Down

0 comments on commit 47497f9

Please sign in to comment.