lerp method
Linearly interpolate between this and another FModalSheetStyle using the given factor t
.
Implementation
@useResult
FModalSheetStyle lerp(FModalSheetStyle other, double t) => FModalSheetStyle(
barrierFilter: t < 0.5 ? barrierFilter : other.barrierFilter,
motion: motion.lerp(other.motion, t),
flingVelocity: lerpDouble(flingVelocity, other.flingVelocity, t) ?? flingVelocity,
closeProgressThreshold:
lerpDouble(closeProgressThreshold, other.closeProgressThreshold, t) ?? closeProgressThreshold,
);