flutter_esc_pos_utils 0.1.1 flutter_esc_pos_utils: ^0.1.1 copied to clipboard
This package is used to generate ESC/pos commands to print using Bluetooth, WiFi/Network, or USB printers.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_esc_pos_utils
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_esc_pos_utils: ^0.1.1
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:flutter_esc_pos_utils/flutter_esc_pos_utils.dart';