large Flutter Favorite logosmall Flutter Favorite logo

location 4.4.0 icon indicating copy to clipboard operation
location: ^4.4.0 copied to clipboard

A Flutter plugin to easily handle realtime location in iOS and Android. Provides settings for optimizing performance or battery.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add location

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

dependencies:
  location: ^4.4.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:location/location.dart';
2049
likes
135
pub points
100%
popularity

Publisher

verified publisher iconbernos.dev

A Flutter plugin to easily handle realtime location in iOS and Android. Provides settings for optimizing performance or battery.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, location_platform_interface, location_web

More

Packages that depend on location