Document class
Constructors
-
Document({PdfPageMode pageMode = PdfPageMode.none, DeflateCallback? deflate, bool compress = true, bool verbose = false, PdfVersion version = PdfVersion.pdf_1_5, bool simpleTrueTypeFonts = false, ThemeData? theme, String? title, String? author, String? creator, String? subject, String? keywords, String? producer, XmlDocument? metadata})
-
-
Document.load(PdfDocumentParserBase parser, {@Deprecated('Not used') PdfPageMode pageMode = PdfPageMode.none, DeflateCallback? deflate, bool compress = true, bool verbose = false, ThemeData? theme, String? title, String? author, String? creator, String? subject, String? keywords, String? producer})
-
Methods
-
addPage(Page page, {int? index})
→ void
-
-
editPage(int index, Page page)
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
save({bool enableEventLoopBalancing = false})
→ Future<Uint8List>
-
Generates the PDF document as a memory file.
-
toString()
→ String
-
A string representation of this object.
inherited
-
write(PdfStream output, {bool enableEventLoopBalancing = false})
→ Future<void>
-
Writes the PDF to
output without creating a complete in-memory copy.
Static Properties
-
debug
↔ bool
-
getter/setter pair