Printer class Null safety

*Printer

This class willl implement everything that we can you with the printer

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
libVersion Future<String>
*libVersion [...]
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

beep(int times, int st, int ft) Future<int>
*beep [...]
connect() Future<int?>
*connect [...]
customCashier(int pin, int it, int dp) Future<int>
*customCashier [...]
cut({int lines = 0}) Future<int>
*cut [...]
disconnect() Future<int?>
*disconnect [...]
elginCashier() Future<int>
*elginCashier [...]
feed(int lines) Future<int>
*feed [...]
line({String ch = '-', int len = 31}) Future<void>
*line [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
printBarCode(String text, {EliginBarcodeType barcodeType = EliginBarcodeType.JAN8, ElginAlign align = ElginAlign.RIGHT, int height = 50, int width = 6, ElginBarcodeTextPosition textPosition = ElginBarcodeTextPosition.NO_TEXT}) Future<int>
*printBarCode [...]
printImage(File image, bool isBase64) Future<int>
*printImage [...]
printQRCode(String text, {ElginQrcodeSize size = ElginQrcodeSize.SIZE4, ElginAlign align = ElginAlign.CENTER, ElginQrcodeCorrection correction = ElginQrcodeCorrection.LEVEL_M}) Future<int>
*printQRCode [...]
printRaw(List<int> rawList) Future<int>
*printRaw [...]
printString(String text, {ElginAlign align = ElginAlign.LEFT, bool isBold = false, bool isUnderline = false, ElginFont font = ElginFont.FONTA, ElginSize fontSize = ElginSize.MD}) Future<int>
*printString [...]
reset() Future<int>
*reset [...]
statusCashier() Future<int>
*statusCashier [...]
statusEjetor() Future<int>
*statusEjetor [...]
statusSensor() Future<int>
*statusSensor [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

platform MethodChannel?
read / write

Static Methods

instance(MethodChannel methodChannel) Printer
*instance [...]