FocusTraversalGroup constructor

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

Creates a FocusTraversalGroup object.

Implementation

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