PdfLayoutGenerator class

The main engine responsible for converting a PdfTemplate into a PDF document.

It handles layout calculations, dynamic data injection, image pre-loading, and barcode generation.

Constructors

PdfLayoutGenerator()

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

generate(PdfTemplate template, Map<String, dynamic> data) Future<Uint8List>
Generates a PDF document as a byte array from the given template and data.
init({Font? font}) Future<void>
Initializes the generator with an optional default font.
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