location2 6.0.1 copy "location2: ^6.0.1" to clipboard
location2: ^6.0.1 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 Dart:

 $ dart pub add location2

With Flutter:

 $ flutter pub add location2

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

dependencies:
  location2: ^6.0.1

Alternatively, your editor might support dart pub get or 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
0
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.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, location2_android, location2_ios, location2_macos, location2_platform_interface, location2_web

More

Packages that depend on location2