openLocationServicesSettings method

void openLocationServicesSettings()

Opens the device settings where location services can be enabled

Implementation

void openLocationServicesSettings() async {
  await Geolocator.openLocationSettings();
}