safaehAnchoredLift function

double safaehAnchoredLift(
  1. double progress
)

Gap the card rises into after the funnel settles on the button.

Implementation

double safaehAnchoredLift(double progress) {
  final t = ((progress - 0.48) / (_liftEnd - 0.48)).clamp(0.0, 1.0);
  return _aboveGap * Curves.easeOut.transform(t);
}