k2_printer 0.0.5
k2_printer: ^0.0.5 copied to clipboard
Thermal Printer utility for both Sunmi K2 and K2 Mini.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add k2_printerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
k2_printer: ^0.0.5Alternatively, 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:k2_printer/k2_printer.dart';