David PHAM-VAN

Add compatibility with Flutter 3.18.0-1.0.pre.23

# Changelog
## 1.0.2
- Add compatibility with Flutter 3.18.0-1.0.pre.23
## 1.0.1
- Add compatibility with Flutter 3.10
## 1.0.0
- Initial release.
... ...
... ... @@ -170,8 +170,10 @@ class WidgetWrapper extends pw.ImageProvider {
child: RenderPositionedBox(
alignment: Alignment.center, child: repaintBoundary),
configuration: ViewConfiguration(
size:
Size(computedConstraints.maxWidth, computedConstraints.maxHeight),
constraints: ui.ViewConstraints(
maxWidth: computedConstraints.maxWidth,
maxHeight: computedConstraints.maxHeight,
),
devicePixelRatio: view.devicePixelRatio),
view: view,
);
... ...
... ... @@ -4,11 +4,11 @@ description: >
homepage: https://github.com/DavBfr/dart_pdf/tree/master/widget_wrapper
repository: https://github.com/DavBfr/dart_pdf
issue_tracker: https://github.com/DavBfr/dart_pdf/issues
version: 1.0.1
version: 1.0.2
environment:
sdk: ">=2.18.0 <4.0.0"
flutter: ">=3.9.0"
flutter: ">=3.18.0-1.0.pre.23<3.19.0"
dependencies:
flutter:
... ...