lerp method
Linearly interpolate between this and another FCalendarStyle using the given factor t.
Implementation
@useResult
FCalendarStyle lerp(FCalendarStyle other, double t) => .new(
headerStyle: headerStyle.lerp(other.headerStyle, t),
dayPickerStyle: dayPickerStyle.lerp(other.dayPickerStyle, t),
monthPickerStyle: monthPickerStyle.lerp(other.monthPickerStyle, t),
yearPickerStyle: yearPickerStyle.lerp(other.yearPickerStyle, t),
wheelPickerStyle: wheelPickerStyle.lerp(other.wheelPickerStyle, t),
decoration: .lerp(decoration, other.decoration, t) ?? decoration,
padding: .lerp(padding, other.padding, t) ?? padding,
);