I don't know how to use dart sensor accelerometer in code to find the value of distance covered.
I don't know where to start
the code is from: https://github.com/flutter/plugins/blob/master/packages/sensors/lib/sensors.dart
it was the link from the sensor plugin from dart
be able to calculate distance traveled with accelerometer data in a loop that pause for a fraction of a second. This is done until the desired distance is covered. Distance could be calculated using time the acceleration data.