setTheme static method

Future<void> setTheme(
  1. String theme
)

Implementation

static Future<void> setTheme(String theme) async =>
    await _prefs?.setString(_keyTheme, theme);