copyWith method
- @useResult
- FCalendarEntryStyle? selectedStyle,
- FCalendarEntryStyle? unselectedStyle,
Returns a copy of this FCalendarDayStyle but with the given fields replaced with the new values.
Implementation
@useResult
FCalendarDayStyle copyWith({
FCalendarEntryStyle? selectedStyle,
FCalendarEntryStyle? unselectedStyle,
}) =>
FCalendarDayStyle(
selectedStyle: selectedStyle ?? this.selectedStyle,
unselectedStyle: unselectedStyle ?? this.unselectedStyle,
);