progress property

double get progress

Implementation

double get progress {
  final target = _currentPhaseDuration();
  if (target.inSeconds == 0) return 0;
  return (elapsed.value.inSeconds / target.inSeconds).clamp(0.0, 1.0);
}