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 .
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 .