MethodChannelFlutterSavanitdevPrinter class
An implementation of FlutterSavanitdevPrinterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterSavanitdevPrinterPlatform
- MethodChannelFlutterSavanitdevPrinter
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
- rety ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelChineseCharModel(
) → Future< List< int> > -
override
-
connect(
String address, String type, bool isCloseConnection, int timeout) → Future< bool> -
override
-
connectMultiXPrinter(
String address, String type) → Future< String?> -
override
-
connectZyWell(
String address, String type) → Future< String?> -
override
-
cut(
) → Future< List< int> > -
override
-
cutESCX(
String address) → Future< String?> -
override
-
disconnect(
String address, int timeout) → Future< bool> -
override
-
disconnectXPrinter(
String address) → Future< String?> -
override
-
disconnectZyWell(
String address) → Future< String?> -
override
-
discovery(
String type, int timeout) → Future< List> -
override
-
discoveryLoop(
String type, int timeout) → Future< List> -
getPlatformVersion(
) → Future< String?> -
inherited
-
getPrinterStatusZyWell(
String address) → Future< String?> -
override
-
getUSBAddress(
int productId, int vendorId) → Future< String?> -
override
-
initializePrinter(
) → Future< List< int> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pingDevice(
String address, int timeout) → Future< String?> -
override
-
printAndFeedLine(
) → Future< List< int> > -
override
-
printBarcode(
int m, int n, String content) → Future< List< int> > -
override
-
printCommand(
{String address = "", String iniCommand = "", String cutterCommands = "", String img = "", String encode = "", bool isCut = false, bool isDisconnect = false, bool isDevicePOS = false, int timeout = 30, int width = 576}) → Future< bool> -
override
-
printerStatusZPL(
String address, int timeout) → Future< String?> -
override
-
printImgCPCL(
String address, String encode, int width, int x, int y) → Future< String?> -
override
-
printImgESCX(
String address, String encode, int countCut, int width, bool isDevicePOS) → Future< String?> -
override
-
printImgTSPL(
String address, String encode, int width, int widthBmp, int height, int m, int n, int x, int y) → Future< String?> -
override
-
printImgZPL(
String address, String encode, int printCount, int width, int x, int y) → Future< String?> -
override
-
printImgZyWell(
String address, String encode, bool isCut, int width, int cutCount) → Future< String?> -
override
-
printQRcode(
int n, int errLevel, String content) → Future< List< int> > -
override
-
printRawDataCPCL(
String address, String encode) → Future< String?> -
override
-
printRawDataESC(
String address, String encode, bool isDevicePOS) → Future< String?> -
override
-
printRawDataTSPL(
String address, String encode) → Future< String?> -
override
-
printRawZyWell(
String address, String encode) → Future< String?> -
override
-
removeConnection(
String address) → Future< String?> -
override
-
selectAlignment(
String align) → Future< List< int> > -
override
-
selectCharacterCodePage(
int n) → Future< List< int> > -
override
-
selectCharacterSize(
int n) → Future< List< int> > -
override
-
selectHRICharacterPrintPosition(
int n) → Future< List< int> > -
override
-
selectInternationalCharacterSets(
int n) → Future< List< int> > -
override
-
selectOrCancelBoldModel(
int n) → Future< List< int> > -
override
-
setAbsolutePrintPosition(
int m, int n) → Future< List< int> > -
override
-
setBarcodeHeight(
int n) → Future< List< int> > -
override
-
setBarcodeWidth(
int n) → Future< List< int> > -
override
-
setPrintDensity(
String address, String density) → Future< String?> -
override
-
setPrintOrientation(
String address, String orientation) → Future< String?> -
override
-
setPrintSpeed(
String address, int speed) → Future< String?> -
override
-
startQuickDiscovery(
int timeout) → Future< String?> -
override
-
text(
String text, String codePage) → Future< List< int> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
USBDiscovery(
) → Future< List> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited