ZebraPrinter class

Constructors

ZebraPrinter(String id, {dynamic onDiscoveryError(String, String?)?, Function? onPermissionDenied, ZebraPrinterNotifier? notifier})

Properties

channel MethodChannel
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
isRotated bool
getter/setter pair
notifier ZebraPrinterNotifier
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
selectedAddress String?
getter/setter pair

Methods

calibratePrinter() → void
connectToGenericPrinter(String address) → void
connectToPrinter(String address) → void
disconnect() → void
discoveryPrinters() → void
isPrinterConnected() → void
nativeMethodCallHandler(MethodCall methodCall) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
print(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
toString() String
A string representation of this object.
inherited

Operators

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