Skip to content
pubscout

flutter_blue_plus

2.3.15, released 2 weeks ago by jamcorder.com

Flutter plugin for connecting to Bluetooth Low Energy devices.

Rock solid
$ flutter pub add flutter_blue_plus
Source repository

What it does

Provides a BLE central‑role API for scanning, connecting, and communicating with BLE peripherals on Android, iOS, macOS, Linux, and Web. It wraps native platform APIs and exposes streams for device discovery and data exchange.

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

Use it when

  • You need cross‑platform BLE communication in a Flutter app
  • You want a zero‑dependency plugin that works on mobile, desktop, and web

Skip it when

  • You require Bluetooth Classic or peripheral role support
  • Your project is a for‑profit commercial product without purchasing a commercial license

Strengths

  • Supports Android, iOS, macOS, Linux, and Web
  • Zero third‑party dependencies beyond Flutter itself
  • Stream‑based API simplifies reactive handling
  • Active maintenance with recent bug fixes

Weaknesses

  • Commercial license required for for‑profit use
  • Windows support is provided by a separate package
  • Only central role; no peripheral capabilities

Setup

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

Add Bluetooth permissions to AndroidManifest (BLUETOOTH, BLUETOOTH_CONNECT, etc.) and iOS Info.plist (NSBluetoothAlwaysUsageDescription). On Web, ensure HTTPS and user gesture for scanning. Windows requires flutter_blue_plus_winrt package.

import 'package:flutter_blue_plus/flutter_blue_plus.dart';

void startScan() {
  FlutterBluePlus.onScanResults.listen((results) {
    for (var r in results) {
      print('${r.device.remoteId}: ${r.advertisementData.advName}');
    }
  }, onError: (e) => print(e));
  FlutterBluePlus.startScan();
}

Alternatives

Packages that do the same job and could replace flutter_blue_plus.