The web implementation of
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
No modifications to your
pubspec.yaml should be required in a recent enough version of Flutter (
... dependencies: ... location: ^4.0.0 ...
Once you have
pubspec.yaml you should be able to use
package:location as normal.