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-02-26 09:02:59 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2930194e8c8a96b6a46f3ca57ac9052337f27cc7
2930194e
1 parent
6c47088a
Follow Flutter debug painting settings
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletions
printing/CHANGELOG.md
printing/lib/printing.dart
printing/lib/src/widgets.dart
printing/CHANGELOG.md
View file @
2930194
# 1.3.4
*
Fix iOS build with Swift
*
Add installation instructions in the Readme
*
Follow Flutter debug painting settings
# 1.3.3
*
Fix dart lint warnings
...
...
printing/lib/printing.dart
View file @
2930194
...
...
@@ -21,6 +21,7 @@ import 'dart:io';
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:pdf/pdf.dart'
;
...
...
printing/lib/src/widgets.dart
View file @
2930194
...
...
@@ -19,5 +19,7 @@ part of printing;
class
PdfDoc
extends
Document
{
/// Wrapper for a [Document] with zlib compression enabled by default
PdfDoc
({
bool
compress
=
true
})
:
super
(
deflate:
compress
?
zlib
.
encode
:
null
);
:
super
(
deflate:
compress
?
zlib
.
encode
:
null
)
{
Document
.
debug
=
debugPaintSizeEnabled
;
}
}
...
...
Please
register
or
login
to post a comment