ExcludeFocusTraversal constructor Null safety

const ExcludeFocusTraversal(
  1. {Key? key,
  2. bool excluding = true,
  3. required Widget child}
)

Const constructor for ExcludeFocusTraversal widget.

The excluding argument must not be null.

The child argument is required, and must not be null.

Implementation

const ExcludeFocusTraversal({
  super.key,
  this.excluding = true,
  required this.child,
}) : assert(excluding != null),
     assert(child != null);