detachChild abstract method

void detachChild(
  1. FocusNode child
)

Detach a child node from the hierarchy WITHOUT clearing focus. Use this when reordering an existing node (e.g. rebuilding the focus hierarchy) so the primary focus and its blur/focus callbacks are preserved. For genuine removal use removeChild instead.

Implementation

void detachChild(FocusNode child);