RenderSliverFloatingPinnedPersistentHeader constructor Null safety
- {RenderBox? child,
- TickerProvider? vsync,
- FloatingHeaderSnapConfiguration? snapConfiguration,
- OverScrollHeaderStretchConfiguration? stretchConfiguration,
- 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,
);