copyWith method
Creates a copy of this but with the given fields replaced with the new values.
Implementation
@useResult
FCalendarHeaderStyle copyWith({
TextStyle? headerTextStyle,
Color? iconColor,
Duration? animationDuration,
}) =>
FCalendarHeaderStyle(
buttonStyle: buttonStyle,
headerTextStyle: headerTextStyle ?? this.headerTextStyle,
iconColor: iconColor ?? this.iconColor,
animationDuration: animationDuration ?? this.animationDuration,
);