fadePercent property

double get fadePercent

Returns animation progress value of fade animation.

Implementation

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

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