Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2024-01-27 11:03:52 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
538cb6fce96ff688658b8ad2f4725249b78472e6
538cb6fc
1 parent
53f30b85
Add compatibility with Flutter 3.19.0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
widget_wrapper/lib/src/widget_wrapper.dart
widget_wrapper/pubspec.yaml
widget_wrapper/lib/src/widget_wrapper.dart
View file @
538cb6f
...
...
@@ -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
,
),
...
...
widget_wrapper/pubspec.yaml
View file @
538cb6f
...
...
@@ -8,7 +8,7 @@ version: 1.0.2
environment
:
sdk
:
"
>=2.18.0
<4.0.0"
flutter
:
"
>=3.1
8.0-1.0.pre.23<3.19.0
"
flutter
:
"
>=3.1
9.0-9.0.pre.202
"
dependencies
:
flutter
:
...
...
Please
register
or
login
to post a comment