SunmiPrinter class Null safety
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
-
bindingPrinter(
) → Future< bool?> -
bold(
) → Future< void> -
exitLabelPrint(
) → Future< void> -
exitTransactionPrint(
[bool clear = true]) → Future< void> -
getPrinterMode(
) → Future< PrinterMode> -
getPrinterStatus(
) → Future< PrinterStatus> -
getPrinterStatusWithVerbose(
) → Future< String?> -
initPrinter(
) → Future< bool?> -
line(
{String ch = '-', int len = 31}) → Future< void> -
lineWrap(
int lines) → Future< void> -
printBarCode(
String data, {SunmiBarcodeType barcodeType = SunmiBarcodeType.CODE128, int height = 162, int width = 2, SunmiBarcodeTextPos textPosition = SunmiBarcodeTextPos.TEXT_ABOVE}) → Future< void> -
printImage(
Uint8List img) → Future< void> -
printQRCode(
String data, {int size = 5, SunmiQrcodeLevel errorLevel = SunmiQrcodeLevel.LEVEL_H}) → Future< void> -
printRawData(
Uint8List data) → Future< void> -
printRow(
{required List< ColumnMaker> cols}) → Future<void> -
printText(
String text) → Future< void> -
resetBold(
) → Future< void> -
resetFontSize(
) → Future< void> -
setAlignment(
SunmiPrintAlign alignment) → Future< void> -
setFontSize(
SunmiFontSize _size) → Future< void> -
startLabelPrint(
) → Future< void> -
startTransactionPrint(
[bool clear = false]) → Future< void> -
submitTransactionPrint(
) → Future< void> -
unbindingPrinter(
) → Future< bool?>