isDark method
Returns true
if theme is dark.
Implementation
bool isDark() {
_theme = SBUPreferences().getDarkTheme() ? SBUTheme.dark : SBUTheme.light;
return _theme == SBUTheme.dark;
}
Returns true
if theme is dark.
bool isDark() {
_theme = SBUPreferences().getDarkTheme() ? SBUTheme.dark : SBUTheme.light;
return _theme == SBUTheme.dark;
}