A Flutter Package to calculate the distance(By-Road) from gmaps of two points.
All you need to do is get a Gmaps Platform API which is Required. You can choose your travel type in your requirement.
ByRoadDistanceCalculator distance = ByRoadDistanceCalculator();
var distance = await distance.getDistance('YOUR API KEY',
startLatitude,
startLongitude,
destinationLatitude,
destinationLongitude,
travelMode: TravelModes.bicycling);
Really need contibutors to make this more good and usefull, Hope this helps.