copyWith method
- @useResult
- FFocusedOutlineStyle? focusedOutlineStyle,
- FButtonStyle? buttonStyle,
- TextStyle? headerTextStyle,
- 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,
);