PdfExporter class
Service that exports reports to PDF
Constructors
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
-
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
Static Methods
-
exportToPdf(
{required ReportTemplate template, required List data, required String filePath, PdfExportOptions options = const PdfExportOptions()}) → Future< void> - Exports a template with data to PDF
-
exportToPdfBytes(
{required ReportTemplate template, required List data, PdfExportOptions options = const PdfExportOptions()}) → Future< Uint8List> - Generates the PDF bytes of a template with data.
-
showPrintPreview(
{required ReportTemplate template, required List data, PdfExportOptions options = const PdfExportOptions()}) → Future< void> - Shows the print preview