clearCustomThemes static method

void clearCustomThemes()

Removes all custom themes, keeping only 'light' and 'dark'.

Implementation

static void clearCustomThemes() {
  _instance._themes.removeWhere((key, _) => key != 'light' && key != 'dark');
}