RenderSliverIgnorePointer constructor

RenderSliverIgnorePointer({
  1. RenderSliver? sliver,
  2. bool ignoring = true,
  3. @Deprecated('Create a custom sliver ignore pointer widget instead. ' 'This feature was deprecated after v3.8.0-12.0.pre.') bool? ignoringSemantics,
})

Creates a render object that is invisible to hit testing.

Implementation

RenderSliverIgnorePointer({
  RenderSliver? sliver,
  bool ignoring = true,
  @Deprecated(
    'Create a custom sliver ignore pointer widget instead. '
    'This feature was deprecated after v3.8.0-12.0.pre.'
  )
  bool? ignoringSemantics,
}) : _ignoring = ignoring,
     _ignoringSemantics = ignoringSemantics {
  child = sliver;
}