IgnorePointer({Key key, bool ignoring: true, bool ignoringSemantics, Widget child })

Creates a widget that is invisible to hit testing.

The ignoring argument must not be null. If ignoringSemantics, this render object will be ignored for semantics if ignoring is true.

Source

IgnorePointer({
  Key key,
  this.ignoring: true,
  this.ignoringSemantics,
  Widget child
}) : super(key: key, child: child) {
  assert(ignoring != null);
}