isLocationServiceEnabled method
Whether the device's own location setting is on.
Holding the location permission does not mean a location can be read: the device-wide switch can still be off. Android's WebView then never answers the verification page's location request — no position, and no error either — so the page's location check spins for good.
Only an explicit "disabled" counts. A platform with no location service to report, or a check that fails outright, is no reason to stop a flow the page may still be able to complete.
Implementation
Future<bool> isLocationServiceEnabled() async {
try {
return !(await locationPermission.serviceStatus).isDisabled;
} catch (_) {
return true;
}
}