RenderSliverOverlapAbsorber constructor Null safety

RenderSliverOverlapAbsorber(
  1. {required SliverOverlapAbsorberHandle handle,
  2. RenderSliver? sliver}
)

Create a sliver that absorbs overlap and reports it to a SliverOverlapAbsorberHandle.

The handle must not be null.

The sliver must be a RenderSliver.

Implementation

RenderSliverOverlapAbsorber({
  required SliverOverlapAbsorberHandle handle,
  RenderSliver? sliver,
}) : assert(handle != null),
     _handle = handle {
  child = sliver;
}