David PHAM-VAN

Temporary fix for Dart 2.3.0 compatiblity

# 2.0.1
* Fix Replace FlutterErrorDetails to be compatible with Dart 2.3.0
# 2.0.0
* Breaking change: Switch libraries to AndroidX
* Add Page information to PdfDoc object
... ...
... ... @@ -56,13 +56,8 @@ Future<PdfImage> pdfImageFromImageProvider(
if (onError != null) {
onError(exception, stackTrace);
} else {
FlutterError.reportError(FlutterErrorDetails(
context: DiagnosticsNode.message('image failed to load'),
library: 'printing',
exception: exception,
stack: stackTrace,
silent: true,
));
// https://groups.google.com/forum/#!topic/flutter-announce/hp1RNIgej38
AssertionError('image failed to load');
}
}
... ...
... ... @@ -4,7 +4,7 @@ description: Plugin that allows Flutter apps to generate and print documents to
homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing
repository: https://github.com/DavBfr/dart_pdf
issue_tracker: https://github.com/DavBfr/dart_pdf/issues
version: 2.0.0
version: 2.0.1
environment:
sdk: ">=2.1.0 <3.0.0"
... ...