Future<bool> removeData(String key) async { final preferences = await SharedPreferences.getInstance(); return await preferences.remove(key); }