RenderSliverPinnedPersistentHeader constructor

RenderSliverPinnedPersistentHeader({RenderBox child })

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

Implementation

RenderSliverPinnedPersistentHeader({
  RenderBox child,
}) : super(child: child);