Showing
1 changed file
with
1 additions
and
0 deletions
@@ -68,6 +68,7 @@ class PdfPreviewData extends ChangeNotifier { | @@ -68,6 +68,7 @@ class PdfPreviewData extends ChangeNotifier { | ||
68 | 68 | ||
69 | String get localPageFormat { | 69 | String get localPageFormat { |
70 | // Flutter 3 workaround | 70 | // Flutter 3 workaround |
71 | + // ignore: omit_local_variable_types | ||
71 | final WidgetsBinding? wbi = WidgetsBinding.instance; | 72 | final WidgetsBinding? wbi = WidgetsBinding.instance; |
72 | final locale = wbi!.window.locale; | 73 | final locale = wbi!.window.locale; |
73 | // ignore: unnecessary_cast | 74 | // ignore: unnecessary_cast |
-
Please register or login to post a comment