updateAttach method

dynamic updateAttach(
  1. List<AttachmentView> attachList
)

接收外部自定义粘连视图,并设置监听

Implementation

updateAttach(List<AttachmentView> attachList) {
  attachment = List.of(attachList);
  addAttachListener();
}