To use the Geolocator plugin on the web you need to be using Flutter 1.20 or higher . Flutter will automatically add the endorsed geolocator_web package to your application when you add the geolocator: ^6.2. 0 dependency to your pubspec. yaml .
Read moreHow do you show current location on map in flutter?
Fetch Current Location in Flutter
Read moreHow do you show current location on map in flutter?
Fetch Current Location in Flutter
Read moreHow do you use GeoLocator flutter?
To use the Geolocator plugin on the web you need to be using Flutter 1.20 or higher . Flutter will automatically add the endorsed geolocator_web package to your application when you add the geolocator: ^6.2. 0 dependency to your pubspec. yaml .
Read more