removeNode method

void removeNode(
  1. FocusNode node
)

Removes node from this scope and transfers focus if needed.

Implementation

void removeNode(FocusNode node) {
  final index = _nodes.indexOf(node);
  if (index != -1) {
    _removeNodeAtIndex(node, index);
  }
}