setCustomThemes method
Sets the custom themes in the app.
Implementation
void setCustomThemes(List<ZetaCustomTheme> themes) {
setState(() {
_customThemes =
Map.fromEntries(themes.map((theme) => MapEntry(theme.id, theme)));
});
}
Sets the custom themes in the app.
void setCustomThemes(List<ZetaCustomTheme> themes) {
setState(() {
_customThemes =
Map.fromEntries(themes.map((theme) => MapEntry(theme.id, theme)));
});
}