merge method

Implementation

ZeroCalendarPickerStyle merge(ZeroCalendarPickerStyle? other) {
  if (other == null) return this;

  return copyWith(
    headerTextStyle: other.headerTextStyle,
    dayTextStyle: other.dayTextStyle,
    enabledDayColor: other.enabledDayColor,
    disabledDayColor: other.disabledDayColor,
    selectedDayBackground: other.selectedDayBackground,
    selectedDayColor: other.selectedDayColor,
    highlightColor: other.highlightColor,
    todayColor: other.todayColor,
    controlColor: other.controlColor,
    inactiveControlColor: other.inactiveControlColor,
    monthListTileStyle: other.monthListTileStyle,
    yearListTileStyle: other.yearListTileStyle,
    monthLeftIcon: other.monthLeftIcon,
    yearLeftIcon: other.yearLeftIcon,
  );
}