updateList method

void updateList(
  1. List<ValueItem<T>> newList, {
  2. bool shouldreset = true,
})

updates the current list of the widget

Implementation

void updateList(List<ValueItem<T>> newList, {bool shouldreset = true}) {
  if (mounted) {
    widget.controller.updateListItems(newList, shouldreset);
  }
}