Showing
1 changed file
with
1 additions
and
2 deletions
| @@ -111,8 +111,7 @@ class _PdfPreviewState extends State<PdfPreview> { | @@ -111,8 +111,7 @@ class _PdfPreviewState extends State<PdfPreview> { | ||
| 111 | 111 | ||
| 112 | Timer previewUpdate; | 112 | Timer previewUpdate; |
| 113 | 113 | ||
| 114 | - static const Map<String, PdfPageFormat> defaultPageFormats = | ||
| 115 | - <String, PdfPageFormat>{ | 114 | + static const defaultPageFormats = <String, PdfPageFormat>{ |
| 116 | 'A4': PdfPageFormat.a4, | 115 | 'A4': PdfPageFormat.a4, |
| 117 | 'Letter': PdfPageFormat.letter, | 116 | 'Letter': PdfPageFormat.letter, |
| 118 | }; | 117 | }; |
-
Please register or login to post a comment