reset method

void reset({
  1. required List<T> itemList,
  2. bool animation = true,
})

Reset itemList of DragGrid, and render DragGrid

Implementation

void reset({required List<T> itemList, bool animation = true}) {
  _animation = animation;
  _itemList = itemList;
  notifyListeners();
}