mirror of
https://github.com/flutter/packages.git
synced 2025-07-03 09:08:54 +08:00
[web_benchmarks] add ignore unnecessary_non_null_assertion for Scrollable.of (#2765)
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user