gps_connectivity 0.0.4 copy "gps_connectivity: ^0.0.4" to clipboard
gps_connectivity: ^0.0.4 copied to clipboard

PlatformAndroid

A Flutter plugin that checks whether GPS is ON or OFF, it can listen for GPS change.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add gps_connectivity

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  gps_connectivity: ^0.0.4

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:gps_connectivity/gps_connectivity.dart';
7
likes
160
points
117
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that checks whether GPS is ON or OFF, it can listen for GPS change.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, meta, plugin_platform_interface

More

Packages that depend on gps_connectivity