copyWith method
- @useResult
- FCalendarEntryStyle? enabledStyle,
- 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,
);