merge method

Implementation

SettingsThemeData merge({
  SettingsThemeData? theme,
}) {
  if (theme == null) return this;

  return this.copyWith(
    leadingIconsColor: theme.leadingIconsColor,
    tileDescriptionTextColor: theme.tileDescriptionTextColor,
    dividerColor: theme.dividerColor,
    trailingTextColor: theme.trailingTextColor,
    settingsListBackground: theme.settingsListBackground,
    settingsSectionBackground: theme.settingsSectionBackground,
    settingsTileTextColor: theme.settingsTileTextColor,
    tileHighlightColor: theme.tileHighlightColor,
    titleTextColor: theme.titleTextColor,
    inactiveTitleColor: theme.inactiveTitleColor,
    inactiveSubtitleColor: theme.inactiveSubtitleColor,
  );
}