copyWith method

  1. @useResult
FCalendarYearMonthPickerStyle copyWith({
  1. FCalendarEntryStyle? enabledStyle,
  2. FCalendarEntryStyle? disabledStyle,
})

Returns a copy of this FCalendarYearMonthPickerStyle but with the given fields replaced with the new values.

Implementation

@useResult
FCalendarYearMonthPickerStyle copyWith({
  FCalendarEntryStyle? enabledStyle,
  FCalendarEntryStyle? disabledStyle,
}) =>
    FCalendarYearMonthPickerStyle(
      enabledStyle: enabledStyle ?? this.enabledStyle,
      disabledStyle: disabledStyle ?? this.disabledStyle,
    );