MethodChannelGcprinter class

An implementation of GcprinterPlatform that uses method channels.

Inheritance

Constructors

MethodChannelGcprinter()

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

drawBarcode(String str, int align, int type) → void
override
drawHBarcode(String str, int align, int type, int height) → void
override
drawText(String strLeft, int fontLeft, String strMid, int fontMid, String strRight, int fontRight) → void
override
isDeviceSupport() Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printImage(Uint8List img, int align, bool isAutoFeed) → void
override
printImageFile(String filePath, int align, bool isAutoFeed) → void
override
printJson(String json) → void
override
printText(bool isAutoFeed) → void
override
toString() String
A string representation of this object.
inherited

Operators

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