moyoung_ble_plugin 0.0.2 copy "moyoung_ble_plugin: ^0.0.2" to clipboard
moyoung_ble_plugin: ^0.0.2 copied to clipboard

outdated

A Flutter plugin for communicating with the watch.

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: ^0.0.2

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/moyang_beans.dart';
import 'package:moyoung_ble_plugin/impl/moyang_contants.dart';
import 'package:moyoung_ble_plugin/impl/moyoung_ble_impl.dart';
import 'package:moyoung_ble_plugin/moyang_ble.dart';