copyWith method
- @useResult
- FWidgetStateMap<
Color> ? backgroundColor, - FWidgetStateMap<
Color?> ? borderColor, - FWidgetStateMap<
TextStyle> ? textStyle, - Radius? radius,
Returns a copy of this FCalendarEntryStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FCalendarEntryStyle.backgroundColor - The day's background color.
- FCalendarEntryStyle.borderColor - The border.
- FCalendarEntryStyle.textStyle - The day's text style.
- FCalendarEntryStyle.radius - The entry border's radius.
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,
);