getSelectedItems method

  1. @override
List<FlowItem> getSelectedItems()
override

获取已选中项

Implementation

@override
List<FlowItem> getSelectedItems() {
  List<FlowItem> lst = [];
  flowItems.forEach((element) {
    if (element.isCheck) {
      lst.add(element);
    }
  });
  return lst;
}