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