lerp method
Linearly interpolate between this and another FDialogMotion using the given factor t
.
Implementation
@useResult
FDialogMotion lerp(FDialogMotion other, double t) => FDialogMotion(
expandCurve: t < 0.5 ? expandCurve : other.expandCurve,
collapseCurve: t < 0.5 ? collapseCurve : other.collapseCurve,
fadeInCurve: t < 0.5 ? fadeInCurve : other.fadeInCurve,
fadeOutCurve: t < 0.5 ? fadeOutCurve : other.fadeOutCurve,
scaleTween: t < 0.5 ? scaleTween : other.scaleTween,
fadeTween: t < 0.5 ? fadeTween : other.fadeTween,
insetDuration: t < 0.5 ? insetDuration : other.insetDuration,
insetCurve: t < 0.5 ? insetCurve : other.insetCurve,
);