copyWith method

  1. @useResult
FCalendarEntryStyle copyWith({
  1. FWidgetStateMap<Color>? backgroundColor,
  2. FWidgetStateMap<Color?>? borderColor,
  3. FWidgetStateMap<TextStyle>? textStyle,
  4. Radius? radius,
})

Returns a copy of this FCalendarEntryStyle with the given properties replaced.

Consider using the CLI to generate a style.

Parameters

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,
);