location 8.0.0 copy "location: ^8.0.0" to clipboard
location: ^8.0.0 copied to clipboard

Cross-platform plugin for easy access to device's location in real-time.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add location
copied to clipboard

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

dependencies:
  location: ^8.0.0
copied to clipboard

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';
copied to clipboard
3.13k
likes
160
points
232k
downloads

Publisher

verified publisherbernos.dev

Weekly Downloads

2024.10.04 - 2025.04.18

Cross-platform plugin for easy access to device's location in real-time.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, location_platform_interface, location_web

More

Packages that depend on location