thermal_bluetooth_wifi_printer 0.0.1 copy "thermal_bluetooth_wifi_printer: ^0.0.1" to clipboard
thermal_bluetooth_wifi_printer: ^0.0.1 copied to clipboard

outdated

Thermal Printer plugin for flutter (wifi,bluetooth)

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:thermal_bluetooth_wifi_printer_example/bluetooth/bluetooth_printers.dart';

import 'wifi/wifi_printers.dart';

void main(List<String> args) {
  runApp(ThermalPrinterExample());
}

class ThermalPrinterExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: ThermalPrinterPage(),
    );
  }
}

class ThermalPrinterPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      length: 2,
      child: Scaffold(
        appBar: AppBar(
          title: const Text("Thermal Printer"),
          bottom: const TabBar(
            tabs: [
              Tab(text: 'Wifi'),
              Tab(text: 'Bluetooth'),
            ],
          ),
        ),
        body: TabBarView(children: [
          WifiPrinters(),
          BluetoothPrinters(),
        ]),
      ),
    );
  }
}
2
likes
0
points
4
downloads

Publisher

unverified uploader

Weekly Downloads

Thermal Printer plugin for flutter (wifi,bluetooth)

License

unknown (license)

Dependencies

charset_converter, flutter, flutter_esc_pos_utils, image, print_bluetooth_thermal

More

Packages that depend on thermal_bluetooth_wifi_printer

Packages that implement thermal_bluetooth_wifi_printer