parent property Null safety

FocusNode? parent

Returns the parent node for this object.

All nodes except for the root FocusScopeNode (FocusManager.rootScope) will be given a parent when they are added to the focus tree, which is done using FocusAttachment.reparent.

Implementation

FocusNode? get parent => _parent;