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