initDarkMode static method

void initDarkMode({
  1. required AppTheme theme,
})

Initializes currentAppTheme as theme. Sets isDarkMode == true.

Implementation

static void initDarkMode({required AppTheme theme}) {
  currentAppThemeDarkMode = theme;
}