setLightModeEnabled method
Sets whether light mode is enabled in the toggle cycle.
Implementation
void setLightModeEnabled(bool enabled) {
final newConfig =
_config.themeModeConfig.copyWith(lightModeEnabled: enabled);
if (!newConfig.isValid) return;
setThemeModeConfig(newConfig);
}