drago_pos_printer 1.0.4 copy "drago_pos_printer: ^1.0.4" to clipboard
drago_pos_printer: ^1.0.4 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());
  }
}
8
likes
150
points
199
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

connectivity_plus, drago_usb_printer, ffi, flutter, flutter_lints, gbk_codec, hex, image, network_info_plus, plugin_platform_interface, printing, win32

More

Packages that depend on drago_pos_printer