win_ble
1.1.1, released 3 years ago by rohitsangwan.in
Bluetooth Low Energy plugin for Windows Flutter and pure‑Dart projects
What it does
Provides APIs to scan, connect, read, write and subscribe to BLE devices on Windows. It wraps a native BLE server executable and exposes streams for events and radio state.
AI-written summary of version 1.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need BLE functionality on Windows only
- You are building a Flutter Windows app or a pure‑Dart Windows tool
Skip it when
- You need cross‑platform BLE (iOS/Android/macOS)
- You prefer a pure‑Dart implementation without native executables
Strengths
- First‑class Windows BLE support
- Stream‑based event handling
- Supports both Flutter and pure‑Dart projects
Weaknesses
- Windows‑only, no mobile support
- Requires external BLEServer.exe and path setup
- Breaking API changes in recent versions
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Place BLEServer.exe in the app folder (or use WinServer.path()), add path_provider, may need to edit /windows/runner/main.cpp to hide console window
await WinBle.initialize(serverPath: await WinServer.path());
WinBle.startScanning();
final sub = WinBle.scanStream.listen((event) { /* handle devices */ });Alternatives
Packages that do the same job and could replace win_ble.
- flutter_blue_plus
Flutter plugin for connecting to Bluetooth Low Energy devices.
90Compare - in_app_update
Triggers official Google Play In-App Updates on Android devices.
81Compare - universal_ble
Cross-platform Bluetooth Low Energy (BLE) plugin for Flutter
92Compare - flutter_web_bluetooth
A Dart library to use the Web Bluetooth API in your projects.
87Compare
Works with
Packages commonly used together with win_ble: ones it builds on, ones built on it, and its own family.