copyWith method

  1. @useResult
FCalendarHeaderStyle copyWith({
  1. FFocusedOutlineStyle? focusedOutlineStyle,
  2. FButtonStyle? buttonStyle,
  3. TextStyle? headerTextStyle,
  4. Duration? animationDuration,
})
inherited

Returns a copy of this FCalendarHeaderStyle 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
FCalendarHeaderStyle copyWith({
  FFocusedOutlineStyle? focusedOutlineStyle,
  FButtonStyle? buttonStyle,
  TextStyle? headerTextStyle,
  Duration? animationDuration,
}) => FCalendarHeaderStyle(
  focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
  buttonStyle: buttonStyle ?? this.buttonStyle,
  headerTextStyle: headerTextStyle ?? this.headerTextStyle,
  animationDuration: animationDuration ?? this.animationDuration,
);