MethodChannelKozenPrinter class
An implementation of KozenPrinterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- KozenPrinterPlatform
- MethodChannelKozenPrinter
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
-
addPrintBase64(
String encodedString, {int? position}) → Future< void> -
override
-
addPrintLine(
String content, {int? position, int? size, bool? bold, bool? italic, bool? invert}) → Future< void> -
override
-
beforePrinterLength(
) → Future< double?> -
override
-
beginPrint(
) → Future< bool?> -
override
-
cleanCache(
) → Future< void> -
override
-
close(
) → Future< bool?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
lineWrap(
int value) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< bool?> -
override
-
printerLength(
) → Future< double?> -
override
-
printTest(
) → Future< bool?> -
override
-
setLineSpace(
int line) → Future< void> -
override
-
setPrintFont(
String path) → Future< void> -
override
-
setPrintGray(
int gray) → Future< void> -
override
-
status(
) → Future< int?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited