copyWith method

  1. @useResult
FCalendarHeaderStyle copyWith({
  1. TextStyle? headerTextStyle,
  2. Color? iconColor,
  3. Duration? animationDuration,
})

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