File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/flutter_test/lib/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -678,7 +678,8 @@ class TestFlutterView implements FlutterView {
678
678
final TestDisplay _display;
679
679
680
680
@override
681
- Object get viewId => _view.viewId;
681
+ // TODO(goderbauer): Clean ignore and cast up after https://github.com/flutter/engine/pull/42493 lands.
682
+ int get viewId => _view.viewId as int ; // ignore: unnecessary_cast
682
683
683
684
/// The device pixel ratio to use for this test.
684
685
///
@@ -2105,7 +2106,8 @@ class TestWindow implements SingletonFlutterWindow {
2105
2106
'This feature was deprecated after v3.9.0-0.1.pre.'
2106
2107
)
2107
2108
@override
2108
- Object get viewId => _view.viewId;
2109
+ // TODO(goderbauer): Clean ignore and cast up after https://github.com/flutter/engine/pull/42493 lands.
2110
+ int get viewId => _view.viewId as int ; // ignore: unnecessary_cast
2109
2111
2110
2112
/// This gives us some grace time when the dart:ui side adds something to
2111
2113
/// [SingletonFlutterWindow] , and makes things easier when we do rolls to give
You can’t perform that action at this time.
0 commit comments