parentNode property
final
The optional parent node to use when reparenting this group's FocusNode.
If null, the enclosing FocusScope is used as the parent, which mirrors the widget tree and is typically what is desired.
Setting this attaches the group (and the focus subtree below it) to the given node instead of the enclosing FocusScope, which is useful to keep a subtree's focus independent from the surrounding focus tree (for example, so each View forms its own focus root).
Defaults to null.
Implementation
final FocusNode? parentNode;