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