flutter_ble_lib_ios_15 2.5.1 flutter_ble_lib_ios_15: ^2.5.1 copied to clipboard
FlutterBle Library is a flutter library that supports BLE operations. It uses MultiPlatformBleAdapter as a native backend. Forked from https://github.com/Polidea/FlutterBleLib to support iOS 15.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_ble_lib_ios_15
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_ble_lib_ios_15: ^2.5.1
Alternatively, 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:flutter_ble_lib_ios_15/ble_manager.dart';
import 'package:flutter_ble_lib_ios_15/characteristic.dart';
import 'package:flutter_ble_lib_ios_15/descriptor.dart';
import 'package:flutter_ble_lib_ios_15/error/ble_error.dart';
import 'package:flutter_ble_lib_ios_15/flutter_ble_lib.dart';
import 'package:flutter_ble_lib_ios_15/peripheral.dart';
import 'package:flutter_ble_lib_ios_15/scan_result.dart';
import 'package:flutter_ble_lib_ios_15/service.dart';