normalizedValue property

double? get normalizedValue

The normalized progress value between 0.0 and 1.0.

Type: double?. Returns null when progress is null (indeterminate). Automatically calculated by normalizing progress within the min-max range.

Formula: (progress - min) / (max - min)

Implementation

double? get normalizedValue {
  if (progress == null) {
    return null;
  }
  return (progress! - min) / (max - min);
}