spreadPercent property

double get spreadPercent

Returns animation progress value of spread animation.

Implementation

double get spreadPercent {
  if (!isInitialized) return 0;
  final lowerPercent = behavior.lowerPercent ?? 0;
  final upperPercent = behavior.upperPercent ?? 1;

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