存储整数
Future<bool> setInt(String key, int value) async { final prefs = await _sharedPreferences; return prefs.setInt(key, value); }