FocusScopeNode constructor
- String? debugLabel,
- FocusOnKeyEventCallback? onKeyEvent,
- @Deprecated('Use onKeyEvent instead. ' 'This feature was deprecated after v3.18.0-2.0.pre.') FocusOnKeyCallback? onKey,
- bool skipTraversal = false,
- bool canRequestFocus = true,
- TraversalEdgeBehavior traversalEdgeBehavior = TraversalEdgeBehavior.closedLoop,
Creates a FocusScopeNode.
All parameters are optional.
Implementation
FocusScopeNode({
super.debugLabel,
super.onKeyEvent,
@Deprecated(
'Use onKeyEvent instead. '
'This feature was deprecated after v3.18.0-2.0.pre.',
)
super.onKey,
super.skipTraversal,
super.canRequestFocus,
this.traversalEdgeBehavior = TraversalEdgeBehavior.closedLoop,
}) : super(descendantsAreFocusable: true);