static Future setInt(String key, int value) async { final prefs = await SharedPreferences.getInstance(); return prefs.setInt(key, value); }