BluetoothThermalPrinter class
Constructors
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
connectionStatus
→ Future<
String?> -
Get bluetooth device connection status
no setter
-
getBatteryLevel
→ Future<
int?> -
Get battery level of the android device.
no setter
-
getBluetooths
→ Future<
List?> -
Get list of all paired bluetooth devices
no setter
-
platformVersion
→ Future<
String?> -
Get android platform version.
no setter
Static Methods
-
connect(
String mac) → Future< String?> -
Connect to device using
mac
. -
writeBytes(
List< int> bytes) → Future<String?> -
Printes the
bytes
using bluetooth printer. -
writeText(
String text) → Future< String?> -
Printes the
text
using bluetooth printer. -
writeTsplText(
String text) → Future< String?> -
Printes the
text
using bluetooth printer.