RenderIgnorePointer constructor

RenderIgnorePointer({RenderBox child, bool ignoring: true, bool ignoringSemantics })

Creates a render object 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.

Implementation

RenderIgnorePointer({
  RenderBox child,
  bool ignoring = true,
  bool ignoringSemantics,
}) : _ignoring = ignoring,
     _ignoringSemantics = ignoringSemantics,
     super(child) {
  assert(_ignoring != null);
}