David PHAM-VAN

Add compatibility with Flutter 3.19.0

... ... @@ -170,7 +170,11 @@ class WidgetWrapper extends pw.ImageProvider {
child: RenderPositionedBox(
alignment: Alignment.center, child: repaintBoundary),
configuration: ViewConfiguration(
constraints: ui.ViewConstraints(
physicalConstraints: BoxConstraints(
maxWidth: computedConstraints.maxWidth,
maxHeight: computedConstraints.maxHeight,
),
logicalConstraints: BoxConstraints(
maxWidth: computedConstraints.maxWidth,
maxHeight: computedConstraints.maxHeight,
),
... ...
... ... @@ -8,7 +8,7 @@ version: 1.0.2
environment:
sdk: ">=2.18.0 <4.0.0"
flutter: ">=3.18.0-1.0.pre.23<3.19.0"
flutter: ">=3.19.0-9.0.pre.202"
dependencies:
flutter:
... ...