lerp method

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

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

Implementation

@useResult
FHeaderStyles lerp(FHeaderStyles other, double t) =>
    FHeaderStyles(rootStyle: rootStyle.lerp(other.rootStyle, t), nestedStyle: nestedStyle.lerp(other.nestedStyle, t));