isDarkTheme method
Checks if the current theme is a dark theme. Returns true if dark and false if light.
Implementation
bool isDarkTheme() {
return _theme.themeType == ThemeType.dark;
}
Checks if the current theme is a dark theme. Returns true if dark and false if light.
bool isDarkTheme() {
return _theme.themeType == ThemeType.dark;
}