Focus.withExternalFocusNode constructor
Creates a Focus widget that uses the given focusNode
as the source of
truth for attributes on the node, rather than the attributes of this widget.
Implementation
const factory Focus.withExternalFocusNode({
Key? key,
required Widget child,
required FocusNode focusNode,
FocusNode? parentNode,
bool autofocus,
ValueChanged<bool>? onFocusChange,
bool includeSemantics,
}) = _FocusWithExternalFocusNode;