flutter_blue_classic
0.1.1, released 5 months ago by lenhart.dev
A flutter plugin for communicating with bluetooth classic devices.
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.
- flutter_blue_plus
Flutter plugin for connecting to Bluetooth Low Energy devices.
90Compare - universal_ble
Cross-platform Bluetooth Low Energy (BLE) plugin for Flutter
92Compare - flutter_reactive_ble
Reactive BLE plugin for Android and iOS that supports multiple devices
86Compare - flutter_classic_bluetooth
Bluetooth Classic RFCOMM/SPP serial communication plugin for Flutter.
83Compare
Works with
Packages commonly used together with flutter_blue_classic: ones it builds on, ones built on it, and its own family.