FocusScope.withExternalFocusNode constructor Null safety
- {Key? key,
- required Widget child,
- required FocusScopeNode focusScopeNode,
- bool autofocus,
- 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,
bool autofocus,
ValueChanged<bool>? onFocusChange,
}) = _FocusScopeWithExternalFocusNode;