Skip to content

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

License

Notifications You must be signed in to change notification settings

Codedix/flutterlocation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Location

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

Melos docs.page docs.page

DocumentationGitHubWeb Demo

About Flutter Location

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}");

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 41.0%
  • Dart 18.0%
  • Objective-C 13.8%
  • Kotlin 8.1%
  • Swift 6.2%
  • C++ 5.9%
  • Other 7.0%