RenderSliverOverlapAbsorber constructor

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

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

The sliver must be a RenderSliver.

Implementation

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