spreadPercent property

double spreadPercent

Returns animation progress value of spread animation.

Implementation

double get spreadPercent {
  final lowerPercent = _behavior.lowerPercent ?? 0;
  final upperPercent = _behavior.upperPercent ?? 1;

  return lowerPercent +
        (upperPercent - lowerPercent) * _spreadCurved.value;
}