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

Commit c8592e2

Browse files
author
a-wallen
committed
Rename _window properties to _view
1 parent 8a8f98a commit c8592e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/web_ui/lib/platform_dispatcher.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ abstract class PlatformDispatcher {
3131
VoidCallback? get onPlatformConfigurationChanged;
3232
set onPlatformConfigurationChanged(VoidCallback? callback);
3333

34-
Iterable<FlutterView> get views;
34+
Map<Object, FlutterView> get views;
3535

3636
VoidCallback? get onMetricsChanged;
3737
set onMetricsChanged(VoidCallback? callback);
@@ -190,7 +190,7 @@ class PlatformConfiguration {
190190

191191
class ViewConfiguration {
192192
const ViewConfiguration({
193-
this.window,
193+
this.view,
194194
this.devicePixelRatio = 1.0,
195195
this.geometry = Rect.zero,
196196
this.visible = false,
@@ -203,7 +203,7 @@ class ViewConfiguration {
203203
});
204204

205205
ViewConfiguration copyWith({
206-
FlutterWindow? window,
206+
FlutterView? view,
207207
double? devicePixelRatio,
208208
Rect? geometry,
209209
bool? visible,
@@ -215,7 +215,7 @@ class ViewConfiguration {
215215
List<DisplayFeature>? displayFeatures,
216216
}) {
217217
return ViewConfiguration(
218-
window: window ?? this.window,
218+
view: view ?? this.view,
219219
devicePixelRatio: devicePixelRatio ?? this.devicePixelRatio,
220220
geometry: geometry ?? this.geometry,
221221
visible: visible ?? this.visible,
@@ -228,7 +228,7 @@ class ViewConfiguration {
228228
);
229229
}
230230

231-
final FlutterWindow? window;
231+
final FlutterView? view;
232232
final double devicePixelRatio;
233233
final Rect geometry;
234234
final bool visible;

0 commit comments

Comments
 (0)