useFocusScopeNode function
FocusScopeNode
useFocusScopeNode({
- String? debugLabel,
- FocusOnKeyCallback? onKey,
- FocusOnKeyEventCallback? onKeyEvent,
- bool skipTraversal = false,
- bool canRequestFocus = true,
Implementation
FocusScopeNode useFocusScopeNode({
String? debugLabel,
FocusOnKeyCallback? onKey,
FocusOnKeyEventCallback? onKeyEvent,
bool skipTraversal = false,
bool canRequestFocus = true,
}) {
return use(
_FocusScopeNodeHook(
debugLabel: debugLabel,
onKey: onKey,
onKeyEvent: onKeyEvent,
skipTraversal: skipTraversal,
canRequestFocus: canRequestFocus,
),
);
}