PostCode class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
barcode ({required String barcodeData , AlignPos align = AlignPos.center })
→ List <int >
cut ({PosCutMode mode = PosCutMode.full })
→ List <int >
mode
is used to define the full or partial cut (if supported by the priner)
emptyLines (int n )
→ List <int >
Create lines empy
enter ({int nEnter = 1 })
→ List <int >
line ({String typeLine = "-" , FontSize fontSize = FontSize.normal })
→ List <int >
qr (String text , {AlignPos align = AlignPos.center , QRSize size = QRSize.size4 , QRCorrection cor = QRCorrection.L })
→ List <int >
reset ()
→ List <int >
Reset printed
row ({required List <String > texts , required List <int > proportions , FontSize fontSize = FontSize.normal , AlignPos align = AlignPos.left })
→ List <int >
Returns a string for a printing line depending on the amount of text.
@texts = List of texts to place on the line.
@porportions = List of proportions between (1 and 100) %.
@fontSize = FontSize.normal
text ({required String text , AlignPos align = AlignPos.left , bool bold = false , bool inverse = false , FontSize fontSize = FontSize.normal })
→ List <int >
print_bluetooth_thermal 1.1.3