@@ -1340,6 +1340,7 @@ class ViewConfiguration {
13401340 const ViewConfiguration ({
13411341 this .view,
13421342 this .devicePixelRatio = 1.0 ,
1343+ this .geometry = ui.Rect .zero,
13431344 this .visible = false ,
13441345 this .viewInsets = ui.ViewPadding .zero as ViewPadding ,
13451346 this .viewPadding = ui.ViewPadding .zero as ViewPadding ,
@@ -1352,6 +1353,7 @@ class ViewConfiguration {
13521353 ViewConfiguration copyWith ({
13531354 EngineFlutterView ? view,
13541355 double ? devicePixelRatio,
1356+ ui.Rect ? geometry,
13551357 bool ? visible,
13561358 ViewPadding ? viewInsets,
13571359 ViewPadding ? viewPadding,
@@ -1363,6 +1365,7 @@ class ViewConfiguration {
13631365 return ViewConfiguration (
13641366 view: view ?? this .view,
13651367 devicePixelRatio: devicePixelRatio ?? this .devicePixelRatio,
1368+ geometry: geometry ?? this .geometry,
13661369 visible: visible ?? this .visible,
13671370 viewInsets: viewInsets ?? this .viewInsets,
13681371 viewPadding: viewPadding ?? this .viewPadding,
@@ -1375,6 +1378,7 @@ class ViewConfiguration {
13751378
13761379 final EngineFlutterView ? view;
13771380 final double devicePixelRatio;
1381+ final ui.Rect geometry;
13781382 final bool visible;
13791383 final ViewPadding viewInsets;
13801384 final ViewPadding viewPadding;
@@ -1385,7 +1389,7 @@ class ViewConfiguration {
13851389
13861390 @override
13871391 String toString () {
1388- return '$runtimeType [view: $view ]' ;
1392+ return '$runtimeType [view: $view , geometry: $ geometry ]' ;
13891393 }
13901394}
13911395
0 commit comments