ColumnMaker class

ColumnMaker

With this class you can build a column with a text payload and explicit weight layout alignments. This is an ideal configuration when constructing multi-column layouts like continuous POS receipts.

Example: Name Qtd Value XXX 2 2.33

Constructors

ColumnMaker({String text = '', int width = 2, SunmiPrintAlign align = SunmiPrintAlign.LEFT})
Constructs a fresh blueprint instance of a row column block.

Properties

align ↔ SunmiPrintAlign
The layout horizontal alignment strategy rule.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text ↔ String
The string content to render inside the target cell column.
getter/setter pair
width ↔ int
The comparative layout width allocation weight.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts the column metadata into a raw structured Map. Modified to pass values as primitive native types to support modern AGP channel boundaries.
toString() → String
A string representation of this object.
inherited

Operators

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