lerp method
Linearly interpolate between this and another FLineCalendarStyle using the given factor t.
Implementation
@useResult
FLineCalendarStyle lerp(FLineCalendarStyle other, double t) => .new(
itemSpacing: lerpDouble(itemSpacing, other.itemSpacing, t) ?? itemSpacing,
contentEdgeSpacing: lerpDouble(contentEdgeSpacing, other.contentEdgeSpacing, t) ?? contentEdgeSpacing,
contentSpacing: lerpDouble(contentSpacing, other.contentSpacing, t) ?? contentSpacing,
decoration: .lerpDecoration(decoration, other.decoration, t),
todayIndicatorColor: .lerpColor(todayIndicatorColor, other.todayIndicatorColor, t),
dateTextStyle: .lerpTextStyle(dateTextStyle, other.dateTextStyle, t),
weekdayTextStyle: .lerpTextStyle(weekdayTextStyle, other.weekdayTextStyle, t),
tappableStyle: tappableStyle.lerp(other.tappableStyle, t),
);