RenderSliverFloatingPinnedPersistentHeader constructor

RenderSliverFloatingPinnedPersistentHeader({
  1. RenderBox? child,
  2. TickerProvider? vsync,
  3. FloatingHeaderSnapConfiguration? snapConfiguration,
  4. OverScrollHeaderStretchConfiguration? stretchConfiguration,
  5. PersistentHeaderShowOnScreenConfiguration? showOnScreenConfiguration,
})

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({
  super.child,
  super.vsync,
  super.snapConfiguration,
  super.stretchConfiguration,
  super.showOnScreenConfiguration,
});