MethodChannelSenraisePrinter class
An implementation of SenraisePrinterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SenraisePrinterPlatform
- MethodChannelSenraisePrinter
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
-
getPlatformVersion(
) → dynamic -
getServiceVersion(
) → Future< String?> -
override
-
nextLine(
int line) → Future< Void?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printBarCode(
String data, int symbology, int height, int width) → Future< Void?> -
override
-
printEpson(
Uint8List bytes) → Future< Void?> -
override
-
printPic(
Uint8List pic) → Future< Void?> -
override
-
printQRCode(
String data, int modulesize, int errorlevel) → Future< Void?> -
override
-
printText(
String text) → Future< Void?> -
override
-
setAlignment(
int alignment) → Future< Void?> -
override
-
setCode(
String code) → Future< Void?> -
override
-
setDark(
int value) → Future< Void?> -
override
-
setLineHeight(
double lineHeight) → Future< Void?> -
override
-
setTextBold(
bool bold) → Future< Void?> -
override
-
setTextDoubleHeight(
bool enable) → Future< Void?> -
override
-
setTextDoubleWidth(
bool enable) → Future< Void?> -
override
-
setTextSize(
double textSize) → Future< Void?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited