setItemsSource method

void setItemsSource(
  1. List<T> itemsSource
)

Implementation

void setItemsSource(List<T> itemsSource) {
  if (_controller.state == null) {
    return;
  }
  _controller.state!.itemsSource.clear();
  _controller.state!.itemsSource.addAll(itemsSource);
  _controller.state!.refreshFilter();
}