isDarkTheme property
bool
isDarkTheme
Wether the current mode is dark.
If the current ThemeMode is system, the darkness is calculated from the brightness of the system (MediaQuery.platformBrightnessOf).
Implementation
bool get isDarkTheme;