ZebraPrinter class

Constructors

ZebraPrinter(String id, {dynamic onDiscoveryError(String, String?)?, Function? onPermissionDenied, ZebraController? controller})

Properties

channel MethodChannel
getter/setter pair
controller ZebraController
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isRotated bool
getter/setter pair
isScanning bool
getter/setter pair
onDiscoveryError ↔ dynamic Function(String, String?)?
getter/setter pair
onPermissionDenied Function?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldSync bool
getter/setter pair

Methods

calibratePrinter() → void
connectToGenericPrinter(String address) Future<void>
connectToPrinter(String address) Future<void>
disconnect() Future<void>
isPrinterConnected() → void
nativeMethodCallHandler(MethodCall methodCall) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
print({required String data}) → void
rotate() → void
setDarkness(int darkness) → void
setMediaType(EnumMediaType mediaType) → void
setOnDiscoveryError(dynamic onDiscoveryError(String, String?)?) → void
setOnPermissionDenied(dynamic onPermissionDenied(String, String)) → void
startScanning() → void
stopScanning() → void
toString() String
A string representation of this object.
inherited

Operators

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