Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit e54d32d

Browse files
author
a-wallen
committed
Remove FlutterWindow from web_ui
1 parent 77c18cd commit e54d32d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

lib/web_ui/lib/window.dart

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ part of ui;
77
abstract class FlutterView {
88
PlatformDispatcher get platformDispatcher;
99
ViewConfiguration get viewConfiguration;
10+
Object get viewId;
1011
double get devicePixelRatio => viewConfiguration.devicePixelRatio;
1112
Rect get physicalGeometry => viewConfiguration.geometry;
1213
Size get physicalSize => viewConfiguration.geometry.size;
@@ -19,15 +20,7 @@ abstract class FlutterView {
1920
void updateSemantics(SemanticsUpdate update) => platformDispatcher.updateSemantics(update);
2021
}
2122

22-
abstract class FlutterWindow extends FlutterView {
23-
@override
24-
PlatformDispatcher get platformDispatcher;
25-
26-
@override
27-
ViewConfiguration get viewConfiguration;
28-
}
29-
30-
abstract class SingletonFlutterWindow extends FlutterWindow {
23+
abstract class SingletonFlutterWindow extends FlutterView {
3124
VoidCallback? get onMetricsChanged => platformDispatcher.onMetricsChanged;
3225
set onMetricsChanged(VoidCallback? callback) {
3326
platformDispatcher.onMetricsChanged = callback;

0 commit comments

Comments
 (0)