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
Adil Hanney
2024-02-16 15:08:14 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e601174d5820f40ad0f5ab241e732423738792ab
e601174d
1 parent
19d9f4bf
fix: correct use of Flutter 3.19's ViewConfiguration constructor
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
widget_wrapper/lib/src/widget_wrapper.dart
widget_wrapper/lib/src/widget_wrapper.dart
View file @
e601174
...
...
@@ -170,13 +170,9 @@ class WidgetWrapper extends pw.ImageProvider {
child:
RenderPositionedBox
(
alignment:
Alignment
.
center
,
child:
repaintBoundary
),
configuration:
ViewConfiguration
(
physicalConstraints:
BoxConstraints
(
maxWidth:
computedConstraints
.
maxWidth
,
maxHeight:
computedConstraints
.
maxHeight
,
),
logicalConstraints:
BoxConstraints
(
maxWidth:
computedConstraints
.
maxWidth
,
maxHeight:
computedConstraints
.
maxHeight
,
size:
Size
(
computedConstraints
.
maxWidth
,
computedConstraints
.
maxHeight
,
),
devicePixelRatio:
view
.
devicePixelRatio
),
view:
view
,
...
...
Please
register
or
login
to post a comment