移除sp中key的值
static Future<bool> remove(String? key) async { if (key == null || key.isEmpty) { return false; } return await _preferences.remove(key); }