pb_thermal_printers 1.1.0 pb_thermal_printers: ^1.1.0 copied to clipboard
Ticket printing for android, location permission is not requested to connect the printer
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pb_thermal_printers
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
pb_thermal_printers: ^1.1.0
Alternatively, 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:pb_thermal_printers/post_code.dart';
import 'package:pb_thermal_printers/print_bluetooth_thermal.dart';
import 'package:pb_thermal_printers/print_bluetooth_thermal_windows.dart';