lerp method
Linearly interpolate between this and another FModalSheetMotion using the given factor t
.
Implementation
@useResult
FModalSheetMotion lerp(FModalSheetMotion other, double t) => FModalSheetMotion(
barrierCurve: t < 0.5 ? barrierCurve : other.barrierCurve,
expandDuration: t < 0.5 ? expandDuration : other.expandDuration,
collapseDuration: t < 0.5 ? collapseDuration : other.collapseDuration,
curve: t < 0.5 ? curve : other.curve,
);