RenderSliverPinnedPersistentHeader constructor Null safety

RenderSliverPinnedPersistentHeader(
  1. {RenderBox? child,
  2. OverScrollHeaderStretchConfiguration? stretchConfiguration,
  3. PersistentHeaderShowOnScreenConfiguration? showOnScreenConfiguration = const PersistentHeaderShowOnScreenConfiguration()}
)

Creates a sliver that shrinks when it hits the start of the viewport, then stays pinned there.

Implementation

RenderSliverPinnedPersistentHeader({
  super.child,
  super.stretchConfiguration,
  this.showOnScreenConfiguration = const PersistentHeaderShowOnScreenConfiguration(),
});