updateProgressRange method
Sets the outline progress range, keeping a bound left null.
Implementation
void updateProgressRange({
double? startOutlineProgress,
double? endOutlineProgress,
}) {
startOutlineProgress ??= _startOutlineProgress;
endOutlineProgress ??= _endOutlineProgress;
if (endOutlineProgress < startOutlineProgress) {
throw ArgumentError(
'endOutlineProgress is expected to be equal or greater than '
'startOutlineProgress',
);
}
_startOutlineProgress = startOutlineProgress;
_endOutlineProgress = endOutlineProgress;
}