moyoung_ble_plugin 1.2.18 moyoung_ble_plugin: ^1.2.18 copied to clipboard
A Flutter plugin for communicating with the watch. Includes the following features: Scan BLE device, Connect and so on, more than 50 functional modules.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add moyoung_ble_plugin
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
moyoung_ble_plugin: ^1.2.18
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:moyoung_ble_plugin/impl/channel_names.dart';
import 'package:moyoung_ble_plugin/impl/event_streams.dart';
import 'package:moyoung_ble_plugin/impl/moyoung_beans.dart';
import 'package:moyoung_ble_plugin/impl/moyoung_ble_impl.dart';
import 'package:moyoung_ble_plugin/impl/moyoung_contants.dart';
import 'package:moyoung_ble_plugin/moyoung_ble.dart';