updateState method
didUpdateWidget
时触发
更新当前state,用于异步显示筛选条件
Implementation
updateState(List<SpinnerEntity> data, List<AttachmentView> attachList) {
value = _getState(data);
updateAttach(attachList);
notifyListeners();
}
didUpdateWidget
时触发
更新当前state,用于异步显示筛选条件
updateState(List<SpinnerEntity> data, List<AttachmentView> attachList) {
value = _getState(data);
updateAttach(attachList);
notifyListeners();
}