The Geolocator can be use to get location details like longitude and latitude. You can get address using the Geocoding package
Geolocator