ZebraPrinter class
- Implemented types
Constructors
- ZebraPrinter(String id, {String? label, required void notifierFunction(ZebraPrinter), Function? statusListener})
Properties
- channel ↔ MethodChannel
-
getter/setter pair
-
foundPrinters
↔ List<
FoundPrinter> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceID ↔ String
-
getter/setter pair
- isRotated ↔ bool
-
getter/setter pair
- notifier ↔ void Function(ZebraPrinter)
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ PrinterStatus
-
getter/setter pair
- zebraPrinterStatus ↔ ZebraPrinterStatus?
-
getter/setter pair
Methods
-
broadCastStatus(
Function? listener) → void -
checkPermissions(
) → Future< bool> -
override
-
checkPrinterStatus(
) → Future< String> -
override
-
connectToPrinter(
String address) → Future< bool> -
override
-
disconnectPrinter(
) → Future< bool> -
override
-
discoverPrinters(
) → Future< String?> -
override
-
isPrinterConnected(
) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printData(
String data) → Future< bool> -
override
-
sampleWithGCD(
) → Future< String> -
override
-
sendCpclOverTcp(
) → Future< String> -
override
-
sendZplOverTcp(
) → Future< String> -
override
-
setSettings(
Command setting, dynamic values) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited