copyWith method

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

See customizing widget styles.

Parameters

Implementation

@useResult
FCalendarEntryStyle copyWith({
  FVariantsValueDelta<FTappableVariantConstraint, FTappableVariant, Color, Delta>? backgroundColor,
  FVariantsValueDelta<FTappableVariantConstraint, FTappableVariant, BorderSide?, Delta>? borderSide,
  FVariantsDelta<FTappableVariantConstraint, FTappableVariant, TextStyle, TextStyleDelta>? textStyle,
  BorderRadius? borderRadius,
}) => .new(
  backgroundColor: backgroundColor?.call(this.backgroundColor) ?? this.backgroundColor,
  borderSide: borderSide?.call(this.borderSide) ?? this.borderSide,
  textStyle: textStyle?.call(this.textStyle) ?? this.textStyle,
  borderRadius: borderRadius ?? this.borderRadius,
);