lerp method

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

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

Implementation

@useResult
FCalendarYearStyle lerp(FCalendarYearStyle other, double t) => .new(
  textStyle: .lerp(textStyle, other.textStyle, t) ?? textStyle,
  decoration: .lerp(decoration, other.decoration, t) ?? decoration,
);