BleGprinterPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • BleGprinterPlatform
Implementers

Constructors

BleGprinterPlatform()
Constructs a BleGprinterPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
onPrinterEvent Stream<Map<String, dynamic>>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connectPrinter(String deviceAddress, String deviceName) Future<bool>
disconnectPrinter() Future<bool>
getPlatformVersion() Future<String?>
getPrinterStatus({int instruction = 1}) Future<Map<String, dynamic>>
isConnected() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printPdf(String pdfPath, {int width = 80, int height = 120, int dpi = 203, int density = 8, int speed = 2, int paperType = 1, int instruction = 1}) Future<Map<String, dynamic>>
searchPrinters({bool onlyGprinter = true}) Future<bool>
stopSearch() Future<bool>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance BleGprinterPlatform
The default instance of BleGprinterPlatform to use.
getter/setter pair