lerp method
Linearly interpolate between this and another FPopoverMotion using the given factor t
.
Implementation
@useResult
FPopoverMotion lerp(FPopoverMotion other, double t) => FPopoverMotion(
entranceDuration: t < 0.5 ? entranceDuration : other.entranceDuration,
exitDuration: t < 0.5 ? exitDuration : other.exitDuration,
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,
);