location 5.0.0-dev.7 copy "location: ^5.0.0-dev.7" to clipboard
location: ^5.0.0-dev.7 copied to clipboard

This librarie aims at providing you a simple way to get the user location without thinking about permission.

Flutter Location

A simple way to get the user location without thinking about permission.

Melos docs.page docs.page

DocumentationGitHubWeb Demo

About #

This librarie aims at providing you a simple way to get the user location without thinking about permission. It's also heavily configurable so you can easily get better performance or better battery.

Youtube Video

It currently supports Android, iOS, macOS and Web. Support for remaining platforms is incoming.

Features #

  • 👨‍💻️ Easy to use
  • 🛰 Handles requesting permission and enabling GPS automatically for you
  • 🔋 Highly configurable so you get the best performance / battery ratio for your usecase
  • 🔍 Supports both with and without Google Play Services for Android phones without them
  • 🏃‍♂️ Supports background location updates
  • ⭐️ Flutter Favorite

How to use? #

Go to the documentation to install Location!

Then, to get the location of your user you can simply do:

final location = await getLocation();
print("Location: ${location.latitude}, ${location.longitude}");
2765
likes
0
pub points
100%
popularity

Publisher

verified publisherbernos.dev

This librarie aims at providing you a simple way to get the user location without thinking about permission.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, location_android, location_ios, location_macos, location_platform_interface, location_web

More

Packages that depend on location