AbsorbPointer constructor Null safety

const AbsorbPointer(
  1. {Key? key,
  2. bool absorbing = true,
  3. Widget? child,
  4. bool? ignoringSemantics}
)

Creates a widget that absorbs pointers during hit testing.

The absorbing argument must not be null.

Implementation

const AbsorbPointer({
  super.key,
  this.absorbing = true,
  super.child,
  this.ignoringSemantics,
}) : assert(absorbing != null);