SliverOverlapAbsorber constructor Null safety

const SliverOverlapAbsorber(
  1. {Key? key,
  2. required SliverOverlapAbsorberHandle handle,
  3. Widget? sliver}
)

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

The handle must not be null.

Implementation

const SliverOverlapAbsorber({
  super.key,
  required this.handle,
  Widget? sliver,
}) : assert(handle != null),
    super(child: sliver);