of static method
Finds the nearest ancestor FocusNode in the widget tree.
Implementation
static FocusNode? of(BuildContext context) {
final scope = context
.dependOnInheritedWidgetOfExactType<_FocusScopeWidget>();
return scope?.focusNode;
}