copyWith method

  1. @useResult
FCalendarDayStyle copyWith({
  1. FCalendarEntryStyle? selectedStyle,
  2. 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,
    );