D1TerminalPluginPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • D1TerminalPluginPlatform
Implementers

Constructors

D1TerminalPluginPlatform()
Constructs a D1TerminalPluginPlatform.

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

closeScreen() Future<void>
cutPaper() Future<void>
getPrinterStatus() Future<int>
isPrinterCoverOpen() Future<bool>
lineFeed(int line) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openScreen() Future<void>
printBarCode({required String text, required D1BarcodeCodeSystem symbology, required int height, required int width, required D1TextAlign alignment, required bool printText}) Future<void>
printQRCode({required String text, required int size, required D1TextAlign align}) Future<void>
printSpace(int line) Future<void>
printStart() Future<void>
printText({required String text, required int size, required D1TextType textType, required bool isUnderLine, required D1TextAlign alignment, required int paperWith, required int lineSpace}) Future<void>
showImage(Uint8List imageSource) Future<void>
showQRCode(String text) Future<void>
showQRScan() Future<String>
showText(String text, D1TextAlign textAlign) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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