thermal_printer 1.0.1 thermal_printer: ^1.0.1 copied to clipboard
A flutter plugin that prints esc commands to printers in different platforms such as android, ios, windows and different interfaces Bluetooth and BLE, TCP and USB
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add thermal_printer
With Flutter:
$ flutter pub add thermal_printer
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
thermal_printer: ^1.0.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:thermal_printer/thermal_printer.dart';