ElStorage(this.key, this.data) { // 设置 1 秒的防抖很有必要,防止高频事件(拖拽、滚动)的序列化出现卡顿 debounceSerialize = DartUtil.debounce(serialize, 1000); }