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-25 18:44:10 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0a98e6bd75b3a0d4057865233baf5af6a6c49702
0a98e6bd
1 parent
638e5c3c
Use assert for error message
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
printing/lib/src/asset_utils.dart
printing/lib/src/asset_utils.dart
View file @
0a98e6b
...
...
@@ -57,7 +57,7 @@ Future<PdfImage> pdfImageFromImageProvider(
onError
(
exception
,
stackTrace
);
}
else
{
// https://groups.google.com/forum/#!topic/flutter-announce/hp1RNIgej38
AssertionError
(
'image failed to load'
);
assert
(
false
,
'image failed to load'
);
}
}
...
...
Please
register
or
login
to post a comment