SliverOverlapInjector constructor

const SliverOverlapInjector({Key key, @required SliverOverlapAbsorberHandle handle, Widget child })

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 child,
}) : assert(handle != null),
     super(key: key, child: child);