I have extracted longitude and latitude using geolocation plugin in flutter. But now I need to create name of place from those longitude and latitude.
I tried using geocoder plugin, but
final coordinates = new Coordinates(latitude, longitude);
var addresses = Geocoder.local.findAddressesFromCoordinates(coordinates);
var first = addresses.first;
above line is giving error saying getter first is not defined for class Future<>
print("${first.featureName} : ${first.addressLine}");
How can I use those latitude and longitude and convert into address in flutter?