xprinter_android 0.0.4
xprinter_android: ^0.0.4 copied to clipboard
A Flutter plugin for controlling XPrinter thermal printers on Android. This plugin allows communication with XPrinter devices over Bluetooth for printing images.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add xprinter_androidThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
xprinter_android: ^0.0.4Alternatively, 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:xprinter_android/model/config.dart';
import 'package:xprinter_android/ui/page.dart';
import 'package:xprinter_android/xprinter.dart';
import 'package:xprinter_android/xprinter_method_channel.dart';
import 'package:xprinter_android/xprinter_platform_interface.dart';