themeMode property

CoderState<ThemeMode> themeMode
final

Global reactive state for ThemeMode (light, dark, or system). Can be used with MaterialApp's themeMode:

themeMode: CoderConfig.themeMode.value,

Implementation

static final themeMode = CoderState<ThemeMode>(ThemeMode.system);