lerp method
Linearly interpolate between this and another FCalendarDayStyle using the given factor t.
Implementation
@useResult
FCalendarDayStyle lerp(FCalendarDayStyle other, double t) => .new(
textStyle: .lerp(textStyle, other.textStyle, t) ?? textStyle,
foreground: .lerp(foreground, other.foreground, t) ?? foreground,
background: .lerp(background, other.background, t) ?? background,
);