setColorTheme method

void setColorTheme(
  1. ColorThemesEnum themeEnum
)

Set a new color theme

  • themeEnum: Enumeration value representing language theme.

Implementation

void setColorTheme(ColorThemesEnum themeEnum) {
  _themesEnum.value = themeEnum;
  _updateTheme();
  saveColorTheme();
}