RenderSliverFloatingPinnedPersistentHeader constructor Null safety

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({
  RenderBox? child,
  TickerProvider? vsync,
  FloatingHeaderSnapConfiguration? snapConfiguration,
  OverScrollHeaderStretchConfiguration? stretchConfiguration,
  PersistentHeaderShowOnScreenConfiguration? showOnScreenConfiguration,
}) : super(
  child: child,
  vsync: vsync,
  snapConfiguration: snapConfiguration,
  stretchConfiguration: stretchConfiguration,
  showOnScreenConfiguration: showOnScreenConfiguration,
);