Showing
3 changed files
with
6 additions
and
8 deletions
@@ -56,13 +56,8 @@ Future<PdfImage> pdfImageFromImageProvider( | @@ -56,13 +56,8 @@ Future<PdfImage> pdfImageFromImageProvider( | ||
56 | if (onError != null) { | 56 | if (onError != null) { |
57 | onError(exception, stackTrace); | 57 | onError(exception, stackTrace); |
58 | } else { | 58 | } else { |
59 | - FlutterError.reportError(FlutterErrorDetails( | ||
60 | - context: DiagnosticsNode.message('image failed to load'), | ||
61 | - library: 'printing', | ||
62 | - exception: exception, | ||
63 | - stack: stackTrace, | ||
64 | - silent: true, | ||
65 | - )); | 59 | + // https://groups.google.com/forum/#!topic/flutter-announce/hp1RNIgej38 |
60 | + AssertionError('image failed to load'); | ||
66 | } | 61 | } |
67 | } | 62 | } |
68 | 63 |
@@ -4,7 +4,7 @@ description: Plugin that allows Flutter apps to generate and print documents to | @@ -4,7 +4,7 @@ description: Plugin that allows Flutter apps to generate and print documents to | ||
4 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing | 4 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing |
5 | repository: https://github.com/DavBfr/dart_pdf | 5 | repository: https://github.com/DavBfr/dart_pdf |
6 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues | 6 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues |
7 | -version: 2.0.0 | 7 | +version: 2.0.1 |
8 | 8 | ||
9 | environment: | 9 | environment: |
10 | sdk: ">=2.1.0 <3.0.0" | 10 | sdk: ">=2.1.0 <3.0.0" |
-
Please register or login to post a comment