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