MethodChannelGpos720Printer class
An implementation of Gpos720PrinterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- Gpos720PrinterPlatform
- MethodChannelGpos720Printer
Constructors
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
-
checkPrinter(
) → Future< PrinterStatus> -
override
-
endPrinting(
) → Future< PrinterStatus> -
override
-
getPlatformVersion(
) → Future< String> -
override
-
lineFeed(
int lineCount, bool finishPrinting) → Future< PrinterStatus> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printAllFunctions(
Uint8List imageBytes, int width, int height, bool finishPrinting) → Future< PrinterStatus> -
override
-
printBarcode(
String barcode, int width, int height, BarcodeTypes barcodeType, bool finishPrinting) → Future< PrinterStatus> -
override
-
printBarcodeImage(
String barcode, int width, int height, BarcodeTypes barcodeType, bool finishPrinting) → Future< PrinterStatus> -
override
-
printFilteredImage(
Uint8List imageBytes, int width, int height, bool finishPrinting, {AlignmentTypes align = AlignmentTypes.center, double? blackTolerance, double? ditheringTolerance}) → Future< PrinterStatus> -
override
-
printImage(
Uint8List imageBytes, int width, int height, bool finishPrinting, {AlignmentTypes align = AlignmentTypes.center}) → Future< PrinterStatus> -
override
-
printText(
String text, bool finishPrinting, {TextOptions? options, int size = defaultFontSize, Font? font, AlignmentTypes align = AlignmentTypes.left}) → Future< PrinterStatus> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited