initialThemeMode property

ThemeMode initialThemeMode
final

Specifies the initial theme mode for the app.

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

Implementation

final ThemeMode initialThemeMode;