ExcludeFocus constructor Null safety

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

Const constructor for ExcludeFocus widget.

The excluding argument must not be null.

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


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