rootScope property Null safety

FocusScopeNode rootScope
final

The root FocusScopeNode in the focus tree.

This field is rarely used directly. To find the nearest FocusScopeNode for a given FocusNode, call FocusNode.nearestScope.

Implementation

final FocusScopeNode rootScope = FocusScopeNode(debugLabel: 'Root Focus Scope');