setThemeMode method
Selects the theme used when Campaign Canvas colors are rendered.
Implementation
void setThemeMode(DigiaThemeMode themeMode) {
if (!_initialized) {
debugPrint('[Digia] setThemeMode() called before initialize().');
return;
}
_themeMode = themeMode;
CampaignColorResolver.shared.setThemeMode(themeMode);
_logIfVerbose('Applied ${themeMode.name} theme to Campaign Canvas.');
}