autoDisposeFocusNode method

void autoDisposeFocusNode(
  1. FocusNode? node
)

Track a focus node that will be automatically disposed on dispose.

Implementation

void autoDisposeFocusNode(FocusNode? node) {
  if (node == null) return;
  _focusNodes.add(node);
}