setThemes method
Configures theme data for different theme modes.
Example:
themeService.setThemes({
ThemeMode.light: ThemeData.light(),
ThemeMode.dark: ThemeData.dark(),
});
Implementation
void setThemes(Map<ThemeMode, ThemeData> themes) {
_themeMap.addAll(themes);
}