flutter location plugin not working on redmi note code example
Example: Future _getCurrentUserLocation () async { final locData = await Location().getLocation(); final double newLatitude = locData.latitude; final double newLongitude = locData.longitude;
Future<void> _getCurrentUserLocation () async {
final locData = await Location().getLocation();
final double newLatitude = locData.latitude;
final double newLongitude = locData.longitude;