isDarkMode property
Returns true if the currently active theme is the built-in dark theme.
This only returns true for the default 'dark' theme.
Custom themes with Brightness.dark will not be considered dark mode.
Example:
if (Themed.isDarkMode) {
print('Dark theme is active');
}
Implementation
static bool get isDarkMode => _instance._currentThemeName == 'dark';