TalabiPrinterPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • TalabiPrinterPlatform
Implementers

Constructors

TalabiPrinterPlatform()
Constructs a TalabiPrinterPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addBarCode(String barcode) Future<void>
addImage(Uint8List imageData) Future<void>
addQrCode(String qrCode) Future<void>
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>
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>
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>
feedLine(int lines, String type) Future<void>
getPlatformVersion() Future<String?>
getStatus() Future<int?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
print() Future<int?>
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>
setGray(int gray) Future<void>
toString() String
A string representation of this object.
inherited
wakeScreen() Future<void>

Operators

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

Static Properties

instance TalabiPrinterPlatform
The default instance of TalabiPrinterPlatform to use.
getter/setter pair