drago_pos_printer 0.0.9 copy "drago_pos_printer: ^0.0.9" to clipboard
drago_pos_printer: ^0.0.9 copied to clipboard

flutter package for print or list down both wireless and bluetooth esc printer devices.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:drago_pos_printer/drago_pos_printer.dart';

import 'home_screen.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  /// ensure printer profile is loaded
  await CapabilityProfile.ensureProfileLoaded();
  print("ensured");
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(home: HomeScreen());
  }
}
6
likes
60
pub points
66%
popularity

Publisher

unverified uploader

flutter package for print or list down both wireless and bluetooth esc printer devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

drago_blue_printer, drago_usb_printer, ffi, flutter, gbk_codec, hex, image, network_info_plus, printing, win32

More

Packages that depend on drago_pos_printer