static Future<bool> saveInt(String key, int? value, [int defaultValue = 0]) async { final prefs = await SharedPreferences.getInstance(); return prefs.setInt(key, value ?? defaultValue); }