RenderAbsorbPointer constructor Null safety

RenderAbsorbPointer(
  1. {RenderBox? child,
  2. bool absorbing = true,
  3. bool? ignoringSemantics}
)

Creates a render object that absorbs pointers during hit testing.

The absorbing argument must not be null.

Implementation

RenderAbsorbPointer({
  RenderBox? child,
  bool absorbing = true,
  bool? ignoringSemantics,
}) : assert(absorbing != null),
     _absorbing = absorbing,
     _ignoringSemantics = ignoringSemantics,
     super(child);