FocusTraversalGroupModifier constructor

FocusTraversalGroupModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. FocusTraversalPolicy? policy,
  5. bool descendantsAreFocusable = true,
  6. bool descendantsAreTraversable = true,
})

Creates a FocusTraversalGroup object.

The child and descendantsAreFocusable arguments must not be null.

Implementation

FocusTraversalGroupModifier({
  super.key,
  super.child,
  super.modifierKey,
  FocusTraversalPolicy? policy,
  this.descendantsAreFocusable = true,
  this.descendantsAreTraversable = true,
}) : policy = policy ?? ReadingOrderTraversalPolicy();