Sets theme.
Future<void> setTheme(SBUTheme theme) async { if (_theme != theme) { _theme = theme; await SBUPreferences().setDarkTheme(_theme == SBUTheme.dark); notifyListeners(); } }