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

PlatformAndroid

This is a simple package for bluetooth thermal.

example/lib/main.dart

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

void main() => runApp(MyApp());

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Main(),
    );
  }
}

class Main extends StatefulWidget {
  const Main({super.key});

  @override
  State<Main> createState() => _MainState();
}

class _MainState extends State<Main> {
  final bt = BlueThermalPrinter.instance;
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("BT Thermal"),
      ),
    );
  }
}
0
likes
140
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

This is a simple package for bluetooth thermal.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on bee_thermal_printer

Packages that implement bee_thermal_printer