removeAt method

IndexedListenableNode removeAt(
  1. int index
)
override

Remove the child node at the index

The ValueListenable and removedNodes listeners will also be notified on this operation

Implementation

IndexedListenableNode removeAt(int index) {
  final removedNode = super.removeAt(index);
  _notifyListeners();
  _notifyNodesRemoved(NodeRemoveEvent(List.from([removedNode])));
  return removedNode as IndexedListenableNode;
}