A new Flutter plugin for connecting to thermal printer via bluetooth (Android Only), this plugin is still under development Note: Migrate your project to AndroidX
- Depend on it
Add this to your package's pubspec.yaml file:
dependencies: blue_thermal_printer: ^any
- Install it
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.
- Import it
Now in your Dart code, you can use:
For detail demonstration please look at example folder
Note: make sure to upgrade your project to compileSdkVersion 31 or above
If you like my content, please consider buying me a coffee. Thank you for your support!