nyx_printer_v2 1.0.0 nyx_printer_v2: ^1.0.0 copied to clipboard
A Flutter plugin for integrating and controlling the Nyx printer (NB55 and T2 Pro models), enabling features like paper handling, printing status, and more.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add nyx_printer_v2
With Flutter:
$ flutter pub add nyx_printer_v2
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
nyx_printer_v2: ^1.0.0
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:nyx_printer_v2/nyx_printer.dart';
import 'package:nyx_printer_v2/nyx_printer_method_channel.dart';
import 'package:nyx_printer_v2/nyx_printer_platform_interface.dart';
import 'package:nyx_printer_v2/nyx_text_format.dart';