FocusScope constructor
- Key? key,
- FocusScopeNode? node,
- FocusNode? parentNode,
- required Widget child,
- bool autofocus = false,
- ValueChanged<
bool> ? onFocusChange, - bool? canRequestFocus,
- bool? skipTraversal,
- FocusOnKeyEventCallback? onKeyEvent,
- FocusOnKeyCallback? onKey,
- String? debugLabel,
- bool includeSemantics = true,
- bool? descendantsAreFocusable,
- bool? descendantsAreTraversable,
Creates a widget that manages a FocusScopeNode.
Implementation
const FocusScope({
super.key,
FocusScopeNode? node,
super.parentNode,
required super.child,
super.autofocus,
super.onFocusChange,
super.canRequestFocus,
super.skipTraversal,
super.onKeyEvent,
super.onKey,
super.debugLabel,
super.includeSemantics,
super.descendantsAreFocusable,
super.descendantsAreTraversable,
}) : super(
focusNode: node,
);