merge method
Merges this MacosDatePickerThemeData with another.
Implementation
MacosDatePickerThemeData merge(MacosDatePickerThemeData? other) {
if (other == null) return this;
return copyWith(
backgroundColor: other.backgroundColor,
selectedElementColor: other.selectedElementColor,
selectedElementTextColor: other.selectedElementTextColor,
caretColor: other.caretColor,
caretControlsBackgroundColor: other.caretControlsBackgroundColor,
caretControlsSeparatorColor: other.caretControlsSeparatorColor,
monthViewControlsColor: other.monthViewControlsColor,
monthViewHeaderColor: other.monthViewHeaderColor,
monthViewSelectedDateColor: other.monthViewSelectedDateColor,
monthViewSelectedDateTextColor: other.monthViewSelectedDateTextColor,
monthViewCurrentDateColor: other.monthViewCurrentDateColor,
monthViewWeekdayHeaderColor: other.monthViewWeekdayHeaderColor,
monthViewHeaderDividerColor: other.monthViewHeaderDividerColor,
monthViewDateColor: other.monthViewDateColor,
shadowColor: other.shadowColor,
);
}