put int. 存储sp中key的int值
static Future<bool>? putInt(String key, int value) { if (_prefs == null) { return null; } return _prefs?.setInt(key, value); }