MethodChannelUrovoPrint class
An implementation of UrovoPrintPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- UrovoPrintPlatform
- MethodChannelUrovoPrint
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
-
clearPage(
) → Future< int?> -
override
-
close(
) → Future< int?> -
override
-
drawBarcode(
String data, int x, int y, int barcodetype, int width, int height, int rotate) → Future< int?> -
override
-
drawBitmap(
Uint8List bmp, int xDest, int yDest) → Future< int?> -
override
-
drawLine(
int x0, int y0, int x1, int y1, int lineWidth) → Future< int?> -
override
-
drawText(
String data, int x, int y, String fontname, int fontsize, bool bold, bool italic, int rotate) → Future< int?> -
override
-
drawTextEx(
String data, int x, int y, int width, int height, String fontname, int fontsize, int rotate, int style, int format) → Future< int?> -
override
-
getStatus(
) → Future< int?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< int?> -
override
-
printPage(
int rotate) → Future< int?> -
override
-
setGrayLevel(
int level) → Future< void> -
override
-
setSpeedLevel(
int level) → Future< void> -
override
-
setupPage(
int width, int height) → Future< int?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited