RenderSliverScrollingPersistentHeader constructor Null safety

RenderSliverScrollingPersistentHeader(
  1. {RenderBox? child,
  2. OverScrollHeaderStretchConfiguration? stretchConfiguration}
)

Creates a sliver that shrinks when it hits the start of the viewport, then scrolls off.

Implementation

RenderSliverScrollingPersistentHeader({
  super.child,
  super.stretchConfiguration,
});