RenderSliverPersistentHeader constructor

RenderSliverPersistentHeader({
  1. RenderBox? child,
  2. OverScrollHeaderStretchConfiguration? stretchConfiguration,
})

Creates a sliver that changes its size when scrolled to the start of the viewport.

This is an abstract class; this constructor only initializes the child.

Implementation

RenderSliverPersistentHeader({
  RenderBox? child,
  this.stretchConfiguration,
}) {
  this.child = child;
}