MethodChannelD1TerminalPlugin class

An implementation of D1TerminalPluginPlatform 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

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

Operators

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