jawal_flutter 1.0.8 jawal_flutter: ^1.0.8 copied to clipboard
Jawal is an SDK that allows you to track user's location in real time with high accuracy and low battery consumption.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add jawal_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
jawal_flutter: ^1.0.8
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:jawal_flutter/events/event.dart';
import 'package:jawal_flutter/events/init_result_event.dart';
import 'package:jawal_flutter/events/location_change_event.dart';
import 'package:jawal_flutter/j_method_channel.dart';
import 'package:jawal_flutter/j_platform_interface.dart';
import 'package:jawal_flutter/jawal.dart';
import 'package:jawal_flutter/jawal_config.dart';
import 'package:jawal_flutter/models/location.dart';
import 'package:jawal_flutter/models/permission_status.dart';
import 'package:jawal_flutter/models/user.dart';