themeMode property

ThemeMode themeMode
final

Specifies the theme mode for the app, which determines how the UI is rendered.

It can be one of the values: ThemeMode.system, ThemeMode.light, or ThemeMode.dark.

Implementation

final ThemeMode themeMode;