themeMode property

ValueNotifier<ThemeMode> themeMode
final

Theme mode selected by user. System follows the host app.

Implementation

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