copyWith method

  1. @useResult
FCalendarEntryStyle copyWith({
  1. FWidgetStateMap<Color>? backgroundColor,
  2. FWidgetStateMap<Color?>? borderColor,
  3. FWidgetStateMap<TextStyle>? textStyle,
  4. 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,
);