How to calculate current location change by 10 meters? 10 meters is dynamically changed.
I tried, location
plugin on Flutter. but not working curretly.
location.changeSettings(distanceFilter: 10,interval: 1000);
//10 is meters, but location is updating every time.
How to calculate like this, I need to know how to calculate.(Because I need to calculate waiting time when travelling)
if(currentLocation > previousLocation) // currentLocation should be greater than 10 meters
currentLication = previousLocation + 10 meters