SliverOverlapInjector constructor Null safety

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

Creates a sliver that is as tall as the value of the given handle's layout extent.

The handle must not be null.

Implementation

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