This is the code for a flutter application fetches current location, coordinates of entered address, distance between both and plots graph using json API data.
-
Geolocator is used to find current location.
-
Geolocator is again used to find the coordinates of the entered Address
-
Geolocator is used to calculate the distance between the current locaation and address entered.
-
JSON API is called using HTTP Package
-
The JSON data is used to plot bar graph.
-
Login-SignUp is done using Google FireBase