BlueThermalPrinter class

Properties

hashCode int
The hash code for this object.
no setterinherited
isAvailable Future<bool?>
no setter
isConnected Future<bool?>
no setter
isOn Future<bool?>
no setter
openSettings Future<bool?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect(BluetoothDevice device) Future
connect(BluetoothDevice device)
disconnect() Future
disconnect()
drawerPin2() Future
drawerPin5()
drawerPin5() Future
drawerPin5()
getBondedDevices() Future<List<BluetoothDevice>>
getBondedDevices()
isDeviceConnected(BluetoothDevice device) Future<bool?>
isDeviceConnected(BluetoothDevice device)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRead() Stream<String>
onRead()
onStateChanged() Stream<int?>
onStateChanged()
paperCut() Future
paperCut()
print3Column(String string1, String string2, String string3, int size, {String? charset, String? format}) Future
print3Column(String string1, String string2, String string3, int size,{String? charset, String? format})
print4Column(String string1, String string2, String string3, String string4, int size, {String? charset, String? format}) Future
print4Column(String string1, String string2, String string3,String string4, int size,{String? charset, String? format})
printCustom(String message, int size, int align, {String? charset}) Future
printCustom(String message, int size, int align,{String? charset})
printImage(String pathImage) Future
printImage(String pathImage)
printImageBytes(Uint8List bytes) Future
printImageBytes(Uint8List bytes)
printLeftRight(String string1, String string2, int size, {String? charset, String? format}) Future
printLeftRight(String string1, String string2, int size,{String? charset, String? format})
printNewLine() Future
printNewLine()
printQRcode(String textToQR, int width, int height, int align) Future
printQRcode(String textToQR, int width, int height, int align)
toString() String
A string representation of this object.
inherited
write(String message) Future
write(String message)
writeBytes(Uint8List message) Future
writeBytes(Uint8List message)

Operators

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

Static Properties

instance BlueThermalPrinter
no setter

Constants

CONNECTED → const int
DISCONNECT_REQUESTED → const int
DISCONNECTED → const int
ERROR → const int
namespace → const String
STATE_BLE_ON → const int
STATE_BLE_TURNING_OFF → const int
STATE_BLE_TURNING_ON → const int
STATE_OFF → const int
STATE_ON → const int
STATE_TURNING_OFF → const int
STATE_TURNING_ON → const int