FlutterBluetoothPrinter class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
connect(String address)
→ Future<bool>
-
-
disconnect(String address)
→ Future<bool>
-
-
getState()
→ Future<BluetoothState>
-
-
printBytes({required String address, required Uint8List data, required bool keepConnected, int maxBufferSize = 512, int delayTime = 120, ProgressCallback? onProgress})
→ Future<bool>
-
-
printImage({required String address, required Uint8List imageBytes, required int imageWidth, required int imageHeight, PaperSize paperSize = PaperSize.mm58, ProgressCallback? onProgress, int addFeeds = 0, bool useImageRaster = true, required bool keepConnected, int maxBufferSize = 512, int delayTime = 120})
→ Future<bool>
-
-
selectDevice(BuildContext context)
→ Future<BluetoothDevice?>
-