Skip to content
pubscout

flutter_blue_classic

0.1.1, released 5 months ago by lenhart.dev

A flutter plugin for communicating with bluetooth classic devices.

Copyleft license
$ flutter pub add flutter_blue_classic
Source repository

What it does

Flutter_blue_classic is a flutter plugin that allows applications to communicate with bluetooth classic devices. It provides functions to check adapter states, scan for devices, bond, and manage connections.

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

Use it when

  • You need to communicate with Bluetooth Classic devices on Android
  • You want to discover, pair, and connect to non-BLE Bluetooth hardware

Skip it when

  • You are targeting iOS (requires MFi certification and custom native code)
  • You need Bluetooth Low Energy (BLE) support (use flutter_blue_plus instead)

Strengths

  • Dedicated support for Bluetooth Classic on Android
  • Provides stream-based connection handling and adapter states
  • Includes helper functions for UTF-8 string transmission

Weaknesses

  • Android only; iOS does not provide a similar Bluetooth Classic interface
  • Requires manual permission configuration in the Android manifest

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
1

Requires setting the minSdkVersion to 21 or higher and manually adding BLUETOOTH permissions to your AndroidManifest.xml.

final blueClassic = FlutterBlueClassic(usesFineLocation: true);
final isSupported = await blueClassic.isSupported;
final bondedDevices = await blueClassic.bondedDevices;

Alternatives

Packages that do the same job and could replace flutter_blue_classic.

Works with

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