Pda608PluginPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • Pda608PluginPlatform
Implementers

Constructors

Pda608PluginPlatform()
Constructs a Pda608PluginPlatform.

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

close() Future<void>
Close the plugin (release resources)
getScanResults() Stream<ScanResult>
Stream of scan results
init() Future<bool>
Initialize the printer and scanner
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printBarcode({required String data, int width = 380, int height = 100, bool showText = true, int fontSize = 16, int align = 1, int paperWidth = 52, bool isLabel = false, bool tear = true}) Future<bool>
Print barcode
printImage({required Uint8List imageData, int align = 1, int paperWidth = 52, bool isLabel = false, bool tear = true}) Future<bool>
Print an image
printQrCode({required String data, int width = 200, int height = 200, bool showText = true, int fontSize = 16, int align = 1, int paperWidth = 52, bool isLabel = false, bool tear = true}) Future<bool>
Print QR code
printText({required String text, int size = 1, int align = 1, int paperWidth = 52, bool isLabel = false, bool tear = true}) Future<bool>
Print text
setLabelMode(bool enable) Future<void>
Enable or disable label mode (for gap label paper)
startScan() Future<void>
Trigger barcode scanning
testScanResult() Future<bool>
For testing scan results
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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