get int. 获取sp中key的int值
static int getInt(String key, {int defValue = 0}) => _prefs.getInt(key) ?? defValue;