SliverIgnorePointerModifier constructor

const SliverIgnorePointerModifier({
  1. Key? key,
  2. Key? modifierKey,
  3. Widget? child,
  4. bool ignoring = true,
  5. bool? ignoringSemantics,
})

Creates a sliver 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 SliverIgnorePointerModifier({
  super.key,
  super.modifierKey,
  super.child,
  this.ignoring = true,
  this.ignoringSemantics,
}) : assert(ignoring != null);