NiimbotPrintPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • NiimbotPrintPlatform
Implementers

Constructors

NiimbotPrintPlatform()

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

generatePreview({required List<NiimbotPrintElement> elements, NiimbotLabelLayout layout = const NiimbotLabelLayout()}) → Future<Uint8List>
isConnected() → Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDisconnect() → Future<bool>
onStartConnect({required BlueDeviceInfoModel model, required dynamic onResult(bool isSuccess, String message)}) → Future<void>
onStartPrint({required List<NiimbotPrintElement> elements, NiimbotLabelLayout layout = const NiimbotLabelLayout(), required dynamic onResult(bool isSuccess, String message)}) → Future<void>
onStartScan({Duration? scanDuration, dynamic onError(String)?}) → Future<List<BlueDeviceInfoModel>>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ NiimbotPrintPlatform
getter/setter pair