IgnorePointer constructor

const IgnorePointer(
  1. {Key key,
  2. bool ignoring: true,
  3. bool ignoringSemantics,
  4. Widget child}
)

Creates a widget that is invisible to hit testing.

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

Implementation

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