David PHAM-VAN

Add compatibility with Flutter 3.20.0-7.0.pre.48

# Changelog
## 1.0.4
- Add compatibility with Flutter 3.20.0-7.0.pre.48
## 1.0.3
- Add compatibility with Flutter 3.19.0
... ...
... ... @@ -169,12 +169,7 @@ class WidgetWrapper extends pw.ImageProvider {
final renderView = RenderView(
child: RenderPositionedBox(
alignment: Alignment.center, child: repaintBoundary),
configuration: ViewConfiguration(
size: Size(
computedConstraints.maxWidth,
computedConstraints.maxHeight,
),
devicePixelRatio: view.devicePixelRatio),
configuration: ViewConfiguration.fromView(view),
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.3
version: 1.0.4
environment:
sdk: ">=2.18.0 <4.0.0"
flutter: ">=3.19.0"
flutter: ">=3.20.0-7.0.pre.48"
dependencies:
flutter:
... ...