Showing
3 changed files
with
7 additions
and
7 deletions
1 | # Changelog | 1 | # Changelog |
2 | 2 | ||
3 | -## 5.6.8 | 3 | +## 5.6.7 |
4 | 4 | ||
5 | +- Fix imports for Dart 2.15 | ||
5 | - Fix print dialog crash on Linux | 6 | - Fix print dialog crash on Linux |
6 | - Fix directPrint printer selection on macOS | 7 | - Fix directPrint printer selection on macOS |
7 | - Fix TTF font parser for NewsCycle-Regular.ttf | 8 | - Fix TTF font parser for NewsCycle-Regular.ttf |
8 | - | ||
9 | -## 5.6.7 | ||
10 | - | ||
11 | -- Fix imports for Dart 2.15 | 9 | +- Fix AssetManifest |
12 | 10 | ||
13 | ## 5.6.6 | 11 | ## 5.6.6 |
14 | 12 |
@@ -44,7 +44,8 @@ mixin AssetManifest { | @@ -44,7 +44,8 @@ mixin AssetManifest { | ||
44 | } catch (e) { | 44 | } catch (e) { |
45 | assert(() { | 45 | assert(() { |
46 | // ignore: avoid_print | 46 | // ignore: avoid_print |
47 | - print('Error loading AssetManifest.json $e'); | 47 | + print( |
48 | + 'Error loading AssetManifest.json $e Try to call first:\nWidgetsFlutterBinding.ensureInitialized();'); | ||
48 | return true; | 49 | return true; |
49 | }()); | 50 | }()); |
50 | 51 | ||
@@ -85,5 +86,6 @@ class Mutex { | @@ -85,5 +86,6 @@ class Mutex { | ||
85 | for (final e in _waiting) { | 86 | for (final e in _waiting) { |
86 | e.complete(); | 87 | e.complete(); |
87 | } | 88 | } |
89 | + _waiting.clear(); | ||
88 | } | 90 | } |
89 | } | 91 | } |
@@ -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.6.8 | 9 | +version: 5.6.7 |
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