mdsflutter 2.0.1-beta1 mdsflutter: ^2.0.1-beta1 copied to clipboard
Flutter plugin for MDS (Movesense Device Service) that is used for communicating with Movesense devices. This plugin was createad originally by Tugberk Agdokan and it used to be at https://github.com [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mdsflutter
With Flutter:
$ flutter pub add mdsflutter
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
mdsflutter: ^2.0.1-beta1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mdsflutter/Mds.dart';
import 'package:mdsflutter/gen/protos/mdsflutter.pb.dart';
import 'package:mdsflutter/gen/protos/mdsflutter.pbenum.dart';
import 'package:mdsflutter/gen/protos/mdsflutter.pbjson.dart';
import 'package:mdsflutter/gen/protos/mdsflutter.pbserver.dart';
import 'package:mdsflutter/internal/MdsImpl.dart';