activeRatio property
double
activeRatio
Gets the ratio of elapsedDuration to maxDuration. Used by waveforms that show active track with help of stops in gradient while painting. eg. CurvedPolygonWaveform, SquigglyWaveform
Implementation
double get activeRatio => _calculateActiveRatio();