fadePercent property

double fadePercent

Returns animation progress value of fade animation.

Implementation

double get fadePercent {
  final lowerPercent = _behavior.fadeLowerPercent ?? 0;
  final upperPercent = _behavior.fadeUpperPercent ?? 1;

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