Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2019-05-04 13:55:20 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f1682bdbfbe89726844d81701e696b557500ee2a
f1682bdb
1 parent
6d7fc4eb
Temporary fix for Dart 2.3.0 compatiblity
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
printing/CHANGELOG.md
printing/lib/src/asset_utils.dart
printing/pubspec.yaml
printing/CHANGELOG.md
View file @
f1682bd
# 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
...
...
printing/lib/src/asset_utils.dart
View file @
f1682bd
...
...
@@ -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'
);
}
}
...
...
printing/pubspec.yaml
View file @
f1682bd
...
...
@@ -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"
...
...
Please
register
or
login
to post a comment