lerp method

  1. @useResult
FDialogRouteStyle lerp(
  1. FDialogRouteStyle other,
  2. double t
)

Linearly interpolate between this and another FDialogRouteStyle using the given factor t.

Implementation

@useResult
FDialogRouteStyle lerp(FDialogRouteStyle other, double t) =>
    .new(barrierFilter: t < 0.5 ? barrierFilter : other.barrierFilter, motion: motion.lerp(other.motion, t));