yjy_drago_pos_printer 1.0.0
yjy_drago_pos_printer: ^1.0.0 copied to clipboard
flutter package for print or list down both wireless and bluetooth esc printer devices.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add yjy_drago_pos_printerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
yjy_drago_pos_printer: ^1.0.0Alternatively, 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:yjy_drago_pos_printer/drago_pos_printer.dart';
import 'package:yjy_drago_pos_printer/drago_pos_printer_method_channel.dart';
import 'package:yjy_drago_pos_printer/drago_pos_printer_platform_interface.dart';
import 'package:yjy_drago_pos_printer/enums/bluetooth_printer_type.dart';
import 'package:yjy_drago_pos_printer/enums/connection_response.dart';
import 'package:yjy_drago_pos_printer/enums/connection_type.dart';
import 'package:yjy_drago_pos_printer/helpers/network_analyzer.dart';
import 'package:yjy_drago_pos_printer/models/bluetooth_printer.dart';
import 'package:yjy_drago_pos_printer/models/network_printer.dart';
import 'package:yjy_drago_pos_printer/models/pos_printer.dart';
import 'package:yjy_drago_pos_printer/models/usb_printer.dart';
import 'package:yjy_drago_pos_printer/services/bluetooth_printer_manager.dart';
import 'package:yjy_drago_pos_printer/services/bluetooth_printer_manager_web.dart';
import 'package:yjy_drago_pos_printer/services/bluetooth_service.dart';
import 'package:yjy_drago_pos_printer/services/extension.dart';
import 'package:yjy_drago_pos_printer/services/network_printer_manager.dart';
import 'package:yjy_drago_pos_printer/services/network_service.dart';
import 'package:yjy_drago_pos_printer/services/printer_manager.dart';
import 'package:yjy_drago_pos_printer/services/usb_printer_manager.dart';
import 'package:yjy_drago_pos_printer/services/usb_printer_manager_web.dart';
import 'package:yjy_drago_pos_printer/services/usb_service.dart';
import 'package:yjy_drago_pos_printer/utils/esc_pos_utils.dart';
import 'package:yjy_drago_pos_printer/utils/src/barcode.dart';
import 'package:yjy_drago_pos_printer/utils/src/capability_profile.dart';
import 'package:yjy_drago_pos_printer/utils/src/commands.dart';
import 'package:yjy_drago_pos_printer/utils/src/enums.dart';
import 'package:yjy_drago_pos_printer/utils/src/generator.dart';
import 'package:yjy_drago_pos_printer/utils/src/pos_column.dart';
import 'package:yjy_drago_pos_printer/utils/src/pos_styles.dart';
import 'package:yjy_drago_pos_printer/utils/src/qrcode.dart';