themeMode property

ThemeMode get themeMode

Implementation

static ThemeMode get themeMode {
  final darkMode = _prefs?.getBool(kThemeModeKey);
  return darkMode == null
      ? ThemeMode.system
      : darkMode
          ? ThemeMode.dark
          : ThemeMode.light;
}