web_geolocator 0.0.3 copy "web_geolocator: ^0.0.3" to clipboard
web_geolocator: ^0.0.3 copied to clipboard

Platformweb

A lightweight, dependency-free geolocation plugin for Flutter Web utilizing native browser Geolocation APIs with WASM-safe stubs.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add web_geolocator

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

dependencies:
  web_geolocator: ^0.0.3

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:web_geolocator/web_geolocator.dart';
1
likes
150
points
23
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight, dependency-free geolocation plugin for Flutter Web utilizing native browser Geolocation APIs with WASM-safe stubs.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on web_geolocator

Packages that implement web_geolocator