motiontag_sdk 0.2.0
motiontag_sdk: ^0.2.0 copied to clipboard
The Flutter MOTIONTAG SDK It allows embedding the MOTIONTAG detection intelligence into Flutter mobile application.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add motiontag_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
motiontag_sdk: ^0.2.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:motiontag_sdk/events/location_event.dart';
import 'package:motiontag_sdk/events/motiontag_event.dart';
import 'package:motiontag_sdk/events/started_event.dart';
import 'package:motiontag_sdk/events/stopped_event.dart';
import 'package:motiontag_sdk/events/transmission_error_event.dart';
import 'package:motiontag_sdk/events/transmission_success_event.dart';
import 'package:motiontag_sdk/motiontag.dart';