David PHAM-VAN

Add compatibility with Flutter 3.19.0

@@ -170,7 +170,11 @@ class WidgetWrapper extends pw.ImageProvider { @@ -170,7 +170,11 @@ class WidgetWrapper extends pw.ImageProvider {
170 child: RenderPositionedBox( 170 child: RenderPositionedBox(
171 alignment: Alignment.center, child: repaintBoundary), 171 alignment: Alignment.center, child: repaintBoundary),
172 configuration: ViewConfiguration( 172 configuration: ViewConfiguration(
173 - constraints: ui.ViewConstraints( 173 + physicalConstraints: BoxConstraints(
  174 + maxWidth: computedConstraints.maxWidth,
  175 + maxHeight: computedConstraints.maxHeight,
  176 + ),
  177 + logicalConstraints: BoxConstraints(
174 maxWidth: computedConstraints.maxWidth, 178 maxWidth: computedConstraints.maxWidth,
175 maxHeight: computedConstraints.maxHeight, 179 maxHeight: computedConstraints.maxHeight,
176 ), 180 ),
@@ -8,7 +8,7 @@ version: 1.0.2 @@ -8,7 +8,7 @@ version: 1.0.2
8 8
9 environment: 9 environment:
10 sdk: ">=2.18.0 <4.0.0" 10 sdk: ">=2.18.0 <4.0.0"
11 - flutter: ">=3.18.0-1.0.pre.23<3.19.0" 11 + flutter: ">=3.19.0-9.0.pre.202"
12 12
13 dependencies: 13 dependencies:
14 flutter: 14 flutter: