RenderSliverFloatingPersistentHeader constructor
- RenderBox? child,
- TickerProvider? vsync,
- FloatingHeaderSnapConfiguration? snapConfiguration,
- OverScrollHeaderStretchConfiguration? stretchConfiguration,
- required PersistentHeaderShowOnScreenConfiguration? showOnScreenConfiguration,
Creates a sliver that shrinks when it hits the start of the viewport, then scrolls off, and comes back immediately when the user reverses the scroll direction.
Implementation
RenderSliverFloatingPersistentHeader({
super.child,
TickerProvider? vsync,
this.snapConfiguration,
super.stretchConfiguration,
required this.showOnScreenConfiguration,
}) : _vsync = vsync;