RenderSliverOverlapAbsorber constructor Null safety
- {required SliverOverlapAbsorberHandle handle,
- 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;
}