读取整数
Future<int?> getInt(String key) async { final prefs = await _sharedPreferences; return prefs.getInt(key); }