bluetooth_printers 2.0.1+2
bluetooth_printers: ^2.0.1+2 copied to clipboard
A new flutter plugin project connect to bluetooth thermal printer (Gprinter).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bluetooth_printersThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bluetooth_printers: ^2.0.1+2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bluetooth_printers/bluetooth_printers.dart';