blue_thermal_plus 0.0.4 copy "blue_thermal_plus: ^0.0.4" to clipboard
blue_thermal_plus: ^0.0.4 copied to clipboard

Plugin para da suporte a impressão android e IOS em impressoras termicas

📦 BlueThermal Plus --- Flutter Bluetooth Thermal Printer Plugin #

A high-performance Flutter plugin for printing to thermal printers over Bluetooth Low Energy (BLE) and Bluetooth Classic (SPP) on Android and iOS.

Built with a clean transport-layer architecture for reliability, scalability, and production-grade stability.

✨ Features #

  • BLE printing with MTU-aware chunking\
  • Bluetooth Classic (SPP) support\
  • Automatic MTU negotiation\
  • Smart data chunking & retry system\
  • Auto-disconnect after print\
  • Real-time device discovery events\
  • Unified transport interface\
  • Production tested

📱 Supported Platforms #

Platform BLE Classic


Android ✅ ✅ iOS ✅ ⚠️ (BLE only)

🧠 Architecture #

Flutter → TransportRouter → PrinterTransportManager → (BleTransport / ClassicTransport)

🚀 Installation #

dependencies:
  blue_thermal_plus: ^1.0.0

📡 Basic Usage #

final printer = BlueThermalPlus();
printer.startScan();
printer.connect(deviceId);
printer.printRaw(bytes);

⚙️ BLE Config Example #

printer.configure({
  "chunkSize": 200,
  "chunkDelayMs": 10,
  "autoDisconnectMs": 3000
});

📢 Events #

scanStarted, deviceFound, connected, ready, status, error, disconnected

🧪 Testing #

Flutter contract tests + native core logic + real device integration.

👨‍💻 Author #

Mateus Polonini Cardoso

📄 License #

MIT

2
likes
160
points
215
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin para da suporte a impressão android e IOS em impressoras termicas

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, permission_handler, plugin_platform_interface

More

Packages that depend on blue_thermal_plus

Packages that implement blue_thermal_plus