sunmi_printer_plus 2.0.7 sunmi_printer_plus: ^2.0.7 copied to clipboard
Support V2 Pro Sunmi Label Version and Null safety.\nWith this package you can connect with Sunmi printers, print text, image, qrcode, barcodes and a custom Esc/Pos if you like.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sunmi_printer_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sunmi_printer_plus: ^2.0.7
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:sunmi_printer_plus/sunmi_printer_plus.dart';