If true, will make this widget's descendants unfocusable.
Defaults to true.
If any descendants are focused when this is set to true, they will be unfocused. When excluding is set to false again, they will not be refocused, although they will be able to accept focus again.
Does not affect the value of FocusNode.canRequestFocus on the descendants.
- Focus.descendantsAreFocusable, the attribute of a Focus widget that controls this same property for focus widgets.
- FocusTraversalGroup, a widget used to group together and configure the
focus traversal policy for a widget subtree that has a
descendantsAreFocusableparameter to conditionally block focus for a subtree.
final bool excluding;