digit_location_tracker 0.0.1-dev.2 digit_location_tracker: ^0.0.1-dev.2 copied to clipboard
A comprehensive package to enable location_tracking in the application
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add digit_location_tracker
With Flutter:
$ flutter pub add digit_location_tracker
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
digit_location_tracker: ^0.0.1-dev.2
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:digit_location_tracker/bloc/location_tracker_service.dart';
import 'package:digit_location_tracker/data/oplog/oplog.dart';
import 'package:digit_location_tracker/data/repositories/local/location_tracker.dart';
import 'package:digit_location_tracker/data/repositories/remote/location_tracker.dart';
import 'package:digit_location_tracker/location_tracker.dart';
import 'package:digit_location_tracker/utils/utils.dart';