FocusScopeNode constructor Null safety
- {String? debugLabel,
- FocusOnKeyEventCallback? onKeyEvent,
- FocusOnKeyCallback? onKey,
- bool skipTraversal = false,
- bool canRequestFocus = true}
Creates a FocusScopeNode.
All parameters are optional.
Implementation
FocusScopeNode({
super.debugLabel,
super.onKeyEvent,
super.onKey,
super.skipTraversal,
super.canRequestFocus,
}) : assert(skipTraversal != null),
assert(canRequestFocus != null),
super(
descendantsAreFocusable: true,
);