lerp method

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

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

Implementation

@useResult
FTabMotion lerp(FTabMotion other, double t) =>
    FTabMotion(duration: t < 0.5 ? duration : other.duration, curve: t < 0.5 ? curve : other.curve);