bt_service 0.0.3
bt_service: ^0.0.3 copied to clipboard
A production-ready Flutter plugin for Bluetooth Classic (RFCOMM) on Android. Supports connect, disconnect, and data transfer with robust error handling.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bt_serviceThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bt_service: ^0.0.3Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bt_service/bt_service.dart';