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({
  RenderBox? child,
  OverScrollHeaderStretchConfiguration? stretchConfiguration,
}) : super(
  child: child,
  stretchConfiguration: stretchConfiguration,
);