AbsorbPointer constructor

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({
  Key key,
  this.absorbing = true,
  Widget child,
  this.ignoringSemantics,
}) : assert(absorbing != null),
     super(key: key, child: child);