merge method

Merge color theme

Implementation

StreamColorTheme merge(StreamColorTheme? other) {
  if (other == null) return this;
  return copyWith(
    textHighEmphasis: other.textHighEmphasis,
    textLowEmphasis: other.textLowEmphasis,
    disabled: other.disabled,
    borders: other.borders,
    inputBg: other.inputBg,
    appBg: other.appBg,
    barsBg: other.barsBg,
    linkBg: other.linkBg,
    accentPrimary: other.accentPrimary,
    accentError: other.accentError,
    accentInfo: other.accentInfo,
    highlight: other.highlight,
    overlay: other.overlay,
    overlayDark: other.overlayDark,
    bgGradient: other.bgGradient,
    borderTop: other.borderTop,
    borderBottom: other.borderBottom,
    shadowIconButton: other.shadowIconButton,
    modalShadow: other.modalShadow,
  );
}