SliverPersistentHeaderDelegate class

Delegate for configuring a SliverPersistentHeader.

Constructors

SliverPersistentHeaderDelegate()
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const

Properties

maxExtent double
The size of the header when it is not shrinking at the top of the viewport. [...]
read-only
minExtent double
The smallest size to allow the header to reach, when it shrinks at the start of the viewport. [...]
read-only
snapConfiguration FloatingHeaderSnapConfiguration
Specifies how floating headers should animate in and out of view. [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

build(BuildContext context, double shrinkOffset, bool overlapsContent) Widget
The widget to place inside the SliverPersistentHeader. [...]
shouldRebuild(covariant SliverPersistentHeaderDelegate oldDelegate) bool
Whether this delegate is meaningfully different from the old delegate. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited