MethodChannelTalabiPrinter class

An implementation of TalabiPrinterPlatform that uses method channels.

Inheritance

Properties

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

addBarCode(String barcode) Future<void>
override
addImage(Uint8List imageData) Future<void>
override
addQrCode(String qrCode) Future<void>
override
addText(String text, {int? fontSize, String? font, String? fontName, bool? fontBold, bool? isItalic, bool? isUnderline, bool? isStrikethrough, String? align, int? lineHeight, int? wordSpacing}) Future<void>
override
addTextLeftCenterRight(String textLeft, String textCenter, String textRight, {int? fontSize, String? font, String? fontName, bool? fontBold, bool? isItalic, bool? isUnderline, bool? isStrikethrough, String? align, int? lineHeight, int? wordSpacing}) Future<void>
override
addTextLeftRight(String textLeft, String textRight, {int? fontSize, String? font, String? fontName, bool? fontBold, bool? isItalic, bool? isUnderline, bool? isStrikethrough, String? align, int? lineHeight, int? wordSpacing}) Future<void>
override
feedLine(int lines, String type) Future<void>
override
getPlatformVersion() Future<String?>
override
getStatus() Future<int?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
print() Future<int?>
override
printText(String text, {int? fontSize, String? font, String? fontName, bool? fontBold, bool? isItalic, bool? isUnderline, bool? isStrikethrough, String? align, int? lineHeight, int? wordSpacing}) Future<void>
override
setGray(int gray) Future<void>
override
toString() String
A string representation of this object.
inherited
wakeScreen() Future<void>
override

Operators

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