PdfController class abstract

Abstract class for PDF conversion.

Implementers

Constructors

PdfController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

exportInternal(Context context) List<Widget>
Implement and return a list of PDFs to be created.
generatePdf() Future<Uint8List>
getDocumentCreator() String
The name of the creator of the PDF to be created should be returned.
getDocumentTitle() String
The title of the PDF to be created should be returned.
getFooter(Context context) Widget
It should implement and return the footer widget of the PDF to be generated.
getHeader(Context context) Widget
The header widget of the PDF to be created should be implemented and returned.
getPageFormat() PdfPageFormat
It should return the page format of the PDF to be created.
getPageOrientation() PageOrientation
The PageOrientation of the PDF to be created should be returned.
getThemeData() ThemeData
The ThemeData of the PDF to be created should be returned.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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