drago_pos_printer 1.1.3 copy "drago_pos_printer: ^1.1.3" to clipboard
drago_pos_printer: ^1.1.3 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();
  await CapabilityProfile.ensureProfileLoaded();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Drago POS Printer',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorSchemeSeed: const Color(0xFF3F51B5),
        useMaterial3: true,
        brightness: Brightness.light,
        cardTheme: CardThemeData(
          elevation: 0,
          shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.circular(16),
            side: BorderSide(color: Colors.grey.shade200),
          ),
        ),
        appBarTheme: const AppBarTheme(
          centerTitle: false,
          elevation: 0,
          scrolledUnderElevation: 1,
        ),
      ),
      home: const HomeScreen(),
    );
  }
}
9
likes
150
points
266
downloads

Publisher

unverified uploader

Weekly Downloads

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

connectivity_plus, drago_blue_printer, 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

Packages that implement drago_pos_printer