MethodChannelT70PrinterLib class
An implementation of T70PrinterLibPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- T70PrinterLibPlatform
- MethodChannelT70PrinterLib
Constructors
Properties
- eventChannel → EventChannel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createQRCode(
String data, int barcodeFormat, int errorCorrectionLevel, int widthAndHeight) → Future< Uint8List?> -
override
-
cutPaper(
) → Future< void> -
override
-
getBarcodeBmp(
String data, int barcodeFormat, int errorCorrectionLevel, int width, int height) → Future< Uint8List?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getPrinterVersion(
) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
print(
PrinterLayout printerLayout, PrinterStatusCallback printerStatusCallback) → Future< void> -
override
-
readMsg(
) → Future< Uint8List?> -
override
-
sendMsg(
Uint8List bytes) → Future< Int?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited