XprinterSdkWeb class
A web implementation of the XprinterSdkPlatform of the XprinterSdk plugin.
- Inheritance
-
- Object
- PlatformInterface
- XprinterSdkPlatform
- XprinterSdkWeb
Constructors
- XprinterSdkWeb.new()
- Constructs a XprinterSdkWeb
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addBarcodeText(
) → Future< void> -
inherited
-
connectDevice(
String mac) → Future< bool> -
inherited
-
disconnectDevice(
) → Future< void> -
inherited
-
drawBarcode(
int x, int y, XprinterBarCodeType type, int height, String data, {bool vertical = false, int? width, XprinterBarcodeRatio? ratio}) → Future< void> -
inherited
-
drawBox(
int x, int y, int width, int height, int thickness) → Future< void> -
inherited
-
drawImage(
int x, int y, Uint8List image) → Future< void> -
inherited
-
drawInverseLine(
int x, int y, int xend, int yend, int width) → Future< void> -
inherited
-
drawLine(
int x, int y, int xend, int yend, int thickness) → Future< void> -
inherited
-
drawQRCode(
int x, int y, String data, {XprinterQRCodeModel? codeModel, int? cellWidth}) → Future< void> -
inherited
-
drawText(
int x, int y, String text, {XprintFont? font, XprintRotation? rotation}) → Future< void> -
inherited
-
initializePrinter(
{int height = 0, int offset = 0, int count = 1}) → Future< void> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
print(
) → Future< void> -
inherited
-
removeBarcodeText(
) → Future< void> -
inherited
-
setAlignment(
XprinterAlignment align, [int end = -1]) → Future< void> -
inherited
-
setBeepLength(
int length) → Future< void> -
inherited
-
setMag(
int width, int height) → Future< void> -
inherited
-
setPageWidth(
int width) → Future< void> -
inherited
-
setSpeedLevel(
int level) → Future< void> -
inherited
-
setStringEncoding(
XprinterChatset chatset) → Future< void> -
inherited
-
startScanBluetooth(
) → Future< void> -
inherited
-
stopScanBluetooth(
) → Future< void> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeCommand(
Uint8List data) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void