RenderSliverFloatingPinnedPersistentHeader constructor

RenderSliverFloatingPinnedPersistentHeader({RenderBox child, FloatingHeaderSnapConfiguration snapConfiguration })

Creates a sliver that shrinks when it hits the start of the viewport, then stays pinned there, and grows immediately when the user reverses the scroll direction.

Implementation

RenderSliverFloatingPinnedPersistentHeader({
  RenderBox child,
  FloatingHeaderSnapConfiguration snapConfiguration,
}) : super(child: child, snapConfiguration: snapConfiguration);