progressOf method
Where value is along the track (0–1; past them on an endless arc).
Implementation
double progressOf(double value) {
if (max == min) return 0;
final p = (value - min) / (max - min);
return unbounded ? p : p.clamp(0.0, 1.0);
}