NrbNativePdfGenerator class

Compatibility entry point for local PDF exports.

Uses the same paginated, font-aware generator as the NRB export menu. Native binary generation runs in a worker isolate; Web uses its event loop.

Constructors

NrbNativePdfGenerator()

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

generate({required String? companyName, required String? companyAddress, required Uint8List? companyLogoBytes, int? logoWidth, int? logoHeight, required String reportName, required List<List<NrbHeaderCell>> headers, required List<List<ReportCell>> tableData, required List<double> columnWidths}) → Future<Uint8List>
Generates a report PDF with optional branding.