Skip to content
pubscout

flutter_splendid_ble

1.8.1, released 5 days ago by splendidendeavors.com

A Flutter plugin for Bluetooth Low Energy (BLE) central interactions.

WASM-ready
$ flutter pub add flutter_splendid_ble
Source repository

What it does

Allows Flutter applications to act as a BLE central device to scan for, connect to, and interact with peripheral devices. It supports reading/writing characteristics, subscriptions, bonding process observation, and connection management.

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

Use it when

  • Your app needs to scan for and connect to nearby Bluetooth Low Energy peripherals.
  • You need to read, write, or subscribe to BLE characteristics from Flutter.

Skip it when

  • You only need high-level device information or general connectivity checks without BLE.
  • Your app needs to act exclusively as a BLE peripheral rather than a central (though background accessory capabilities exist).

Strengths

  • Comprehensive suite of BLE operations including scanning, connecting, bonding, and characteristic management.
  • Built-in testing support including a FakeCentralMethodChannel and ESP32 hardware integration testing.

Weaknesses

  • Requires platform-specific configuration and permissions for Android, iOS, and macOS.
  • Limited to BLE central role interactions primarily.

Setup

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

Requires adding BLE permissions and features to AndroidManifest.xml, and Info.plist usage descriptions and Background Modes capabilities for iOS/macOS.

import 'dart:async';

StreamSubscription<BleDevice>? scanSubscription;

void startScan() async {
  final Stream<BleDevice> scanStream = await bleCentral.startScan();
  scanSubscription = scanStream.listen(
    (device) {
      print('Discovered device: \${device.name} (\${device.address})');
    },
  );
}

Alternatives

Packages that do the same job and could replace flutter_splendid_ble.

Works with

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