Document class Null safety

Constructors

Document({PdfPageMode pageMode = PdfPageMode.none, DeflateCallback? deflate, bool compress = true, PdfVersion version = PdfVersion.pdf_1_4, ThemeData? theme, String? title, String? author, String? creator, String? subject, String? keywords, String? producer, XmlDocument? metadata})
Document.load(PdfDocumentParserBase parser, {PdfPageMode pageMode = PdfPageMode.none, DeflateCallback? deflate, bool compress = true, ThemeData? theme, String? title, String? author, String? creator, String? subject, String? keywords, String? producer})

Properties

document PdfDocument
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
theme ThemeData?
final

Methods

addPage(Page page, {int? index}) → void
editPage(int index, Page page) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
save() Future<Uint8List>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

debug bool
read / write