clearCustomThemes static method
Removes all custom themes, keeping only 'light' and 'dark'.
Implementation
static void clearCustomThemes() {
_instance._themes.removeWhere((key, _) => key != 'light' && key != 'dark');
}
Removes all custom themes, keeping only 'light' and 'dark'.
static void clearCustomThemes() {
_instance._themes.removeWhere((key, _) => key != 'light' && key != 'dark');
}