location2 6.0.4 copy "location2: ^6.0.4" to clipboard
location2: ^6.0.4 copied to clipboard

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

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add location2

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

dependencies:
  location2: ^6.0.4

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:location2/location2.dart';
4
likes
130
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, location2_android, location2_ios, location2_macos, location2_platform_interface, location2_web

More

Packages that depend on location2