copyWith method
Returns a copy of this FCalendarEntryStyle but with the given fields replaced with the new values.
Implementation
@useResult
FCalendarEntryStyle copyWith({
Color? backgroundColor,
TextStyle? textStyle,
Color? hoveredBackgroundColor,
TextStyle? hoveredTextStyle,
Color? focusedBorderColor,
Radius? radius,
}) =>
FCalendarEntryStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
textStyle: textStyle ?? this.textStyle,
hoveredBackgroundColor: hoveredBackgroundColor ?? this.hoveredBackgroundColor,
hoveredTextStyle: hoveredTextStyle ?? this.hoveredTextStyle,
focusedBorderColor: focusedBorderColor ?? this.focusedBorderColor,
radius: radius ?? this.radius,
);