setDarkTheme method

Future<void> setDarkTheme(
  1. String themeId
)

Set the dark theme to use during nighttime.

Implementation

Future<void> setDarkTheme(String themeId) async {
  await storage.setString(_darkThemeKey, themeId);
  await _evaluateTheme();
}