ResizingPinnedHeader constructor
ResizingPinnedHeader({
- required double expandedHeight,
- String? debugLabel,
- Widget? child,
- OverScrollHeaderStretchConfiguration? stretchConfiguration,
- double minExtent = kToolbarHeight,
- ShouldRebuild? shouldRebuildFn,
- required SizedWidgetBuilder builder,
Implementation
ResizingPinnedHeader(
{required this.expandedHeight,
this.debugLabel,
this.child,
this.stretchConfiguration,
this.minExtent = kToolbarHeight,
ShouldRebuild? shouldRebuildFn,
required this.builder})
: shouldRebuildFn = shouldRebuildFn ??
((extent, ratio, overlapsContent) => ratio > 0 && ratio < 1.5);