gk_ble_device_flutter 1.0.0 gk_ble_device_flutter: ^1.0.0 copied to clipboard
Bloc-based Flutter library to communicate with GK Concept devices via Bluetooth
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gk_ble_device_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
gk_ble_device_flutter: ^1.0.0
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:gk_ble_device_flutter/ble_device_cubit.dart';
import 'package:gk_ble_device_flutter/ble_device_ext.dart';
import 'package:gk_ble_device_flutter/ble_device_state.dart';