fachrifaul / flutterlocation

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter Location

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

Melos docs.page docs.page

Documentation β€’ GitHub β€’ Web 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.

License:MIT License


Languages

Language:Java 41.0%Language:Dart 18.0%Language:Objective-C 13.8%Language:Kotlin 8.1%Language:Swift 6.2%Language:C++ 5.9%Language:CMake 4.3%Language:Ruby 1.1%Language:HTML 1.0%Language:C 0.6%