Showing
3 changed files
with
7 additions
and
2 deletions
@@ -284,7 +284,8 @@ class _PdfPreviewState extends State<PdfPreview> { | @@ -284,7 +284,8 @@ class _PdfPreviewState extends State<PdfPreview> { | ||
284 | )); | 284 | )); |
285 | 285 | ||
286 | if (widget.canChangeOrientation) { | 286 | if (widget.canChangeOrientation) { |
287 | - actions.add(const PdfPageOrientationAction()); | 287 | + // ignore: prefer_const_constructors |
288 | + actions.add(PdfPageOrientationAction()); | ||
288 | } | 289 | } |
289 | } | 290 | } |
290 | 291 |
@@ -6,7 +6,7 @@ description: > | @@ -6,7 +6,7 @@ description: > | ||
6 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing | 6 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing |
7 | repository: https://github.com/DavBfr/dart_pdf | 7 | repository: https://github.com/DavBfr/dart_pdf |
8 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues | 8 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues |
9 | -version: 5.7.3 | 9 | +version: 5.7.4 |
10 | 10 | ||
11 | environment: | 11 | environment: |
12 | sdk: ">=2.12.0 <3.0.0" | 12 | sdk: ">=2.12.0 <3.0.0" |
-
Please register or login to post a comment