location_web 1.0.1 copy "location_web: ^1.0.1" to clipboard
location_web: ^1.0.1 copied to clipboard

outdated

The web implementation of the location plugin.

location_web #

The web implementation of location.

Usage #

Import the package #

This package is the endorsed implementation of location for the web platform since version 3.0.0, so it gets automatically added to your dependencies by depending on location: ^3.0.0.

No modifications to your pubspec.yaml should be required in a recent enough version of Flutter (>=1.12.13+hotfix.4):

...
dependencies:
  ...
  location: ^3.0.0
  ...

Once you have location in pubspec.yaml you should be able to use package:location as normal.