Skip to content
pubscout

flutter_bluetooth_printer

2.24.0, released 6 months ago by maseka.dev

Image-based printing for Bluetooth thermal printers on iOS and Android.

WASM-ready
$ flutter pub add flutter_bluetooth_printer
Source repository

What it does

Allows Flutter applications to discover Bluetooth thermal printers, build receipts using Flutter widgets, and print images, PDFs, or custom ESC/POS commands.

AI-written summary of version 2.24.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to print receipts from a Flutter app to a Bluetooth thermal printer.
  • You want to design receipts using Flutter widgets and convert them to images for printing.

Skip it when

  • You are printing exclusively to network or USB printers without Bluetooth capability.
  • You need a robust text-only raw text printing solution without image rasterization.

Strengths

  • Supports building receipts using standard Flutter widgets via a `Receipt` controller.
  • Provides discovery streams to build custom device selectors.
  • Supports printing images, PDFs, and custom ESC/POS byte commands.

Weaknesses

  • Widget-to-receipt feature is experimental and layout fitting must be managed carefully.
  • Platform support is limited to Android, iOS, web, and macOS plugins.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
5

Requires platform-level Bluetooth permissions and configuration on Android and iOS.

Future<void> print() async {
  final device = await FlutterBluetoothPrinter.selectDevice(context);
  if (device != null) {
    controller?.print(address: device.address);
  }
}

Alternatives

Packages that do the same job and could replace flutter_bluetooth_printer.

Works with

Packages commonly used together with flutter_bluetooth_printer: ones it builds on, ones built on it, and its own family.