copyWith method
- @useResult
- FWidgetStateMap<
Color> ? backgroundColor, - FWidgetStateMap<
Color?> ? borderColor, - FWidgetStateMap<
TextStyle> ? textStyle, - Radius? radius,
inherited
Returns a copy of this FCalendarEntryStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
Implementation
@useResult
FCalendarEntryStyle copyWith({
FWidgetStateMap<Color>? backgroundColor,
FWidgetStateMap<Color?>? borderColor,
FWidgetStateMap<TextStyle>? textStyle,
Radius? radius,
}) => FCalendarEntryStyle(
backgroundColor: backgroundColor ?? this.backgroundColor,
borderColor: borderColor ?? this.borderColor,
textStyle: textStyle ?? this.textStyle,
radius: radius ?? this.radius,
);