ReceiptGrid class

Constructors

ReceiptGrid({required List<GridLine> lines, required int charsPerLine})
const

Properties

charsPerLine → int
final
hashCode → int
The hash code for this object.
no setterinherited
lines → List<GridLine>
final
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
toText() → String
Klartext (eine Zeile je Rasterzeile) — für Golden-Vergleiche und Logs.

Operators

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

Static Methods

render(ReceiptLayout layout, {int? charsPerLine}) → ReceiptGrid
Setzt das Zeilenmodell ins Raster; charsPerLine fehlt → nach paperSize (32/48).