@@ -31,7 +31,7 @@ abstract class PlatformDispatcher {
31
31
VoidCallback ? get onPlatformConfigurationChanged;
32
32
set onPlatformConfigurationChanged (VoidCallback ? callback);
33
33
34
- Iterable < FlutterView > get views;
34
+ Map < Object , FlutterView > get views;
35
35
36
36
VoidCallback ? get onMetricsChanged;
37
37
set onMetricsChanged (VoidCallback ? callback);
@@ -190,7 +190,7 @@ class PlatformConfiguration {
190
190
191
191
class ViewConfiguration {
192
192
const ViewConfiguration ({
193
- this .window ,
193
+ this .view ,
194
194
this .devicePixelRatio = 1.0 ,
195
195
this .geometry = Rect .zero,
196
196
this .visible = false ,
@@ -203,7 +203,7 @@ class ViewConfiguration {
203
203
});
204
204
205
205
ViewConfiguration copyWith ({
206
- FlutterWindow ? window ,
206
+ FlutterView ? view ,
207
207
double ? devicePixelRatio,
208
208
Rect ? geometry,
209
209
bool ? visible,
@@ -215,7 +215,7 @@ class ViewConfiguration {
215
215
List <DisplayFeature >? displayFeatures,
216
216
}) {
217
217
return ViewConfiguration (
218
- window : window ?? this .window ,
218
+ view : view ?? this .view ,
219
219
devicePixelRatio: devicePixelRatio ?? this .devicePixelRatio,
220
220
geometry: geometry ?? this .geometry,
221
221
visible: visible ?? this .visible,
@@ -228,7 +228,7 @@ class ViewConfiguration {
228
228
);
229
229
}
230
230
231
- final FlutterWindow ? window ;
231
+ final FlutterView ? view ;
232
232
final double devicePixelRatio;
233
233
final Rect geometry;
234
234
final bool visible;
0 commit comments