PosPrinterPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- PosPrinterPlatform
- Implementers
Constructors
- PosPrinterPlatform()
- Constructs a PosPrinterPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelDiscovery(
) → Future< void> -
connect(
DeviceData device) → Future< bool> -
disconnect(
) → Future< void> -
feedAndCutPaper(
) → Future< bool> -
getBatteryLevel(
) → Future< int?> -
getConnectionStatus(
) → Stream< ConnectionStatus?> -
getDevices(
) → Stream< List< DeviceData> > -
getPrinterEvents(
) → Stream< PrinterEvent?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performPrint(
String filePath, {required int width, required int height}) → Future< PrintResult> -
printBitmap(
String filePath, {required int width, required int height}) → Future< PrintResult> -
queryConnectionStatus(
) → Future< void> -
startDiscovery(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ PosPrinterPlatform
-
The default instance of PosPrinterPlatform to use.
getter/setter pair