SliverPinnedPersistentHeaderDelegate class abstract

Delegate for configuring a SliverPinnedPersistentHeader.

Constructors

SliverPinnedPersistentHeaderDelegate({required Widget minExtentProtoType, required Widget maxExtentProtoType})

Properties

hashCode int
The hash code for this object.
no setterinherited
maxExtentProtoType Widget
The poroto type widget of max extent
final
minExtentProtoType Widget
The poroto type widget of min extent
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context, double shrinkOffset, double? minExtent, double maxExtent, bool overlapsContent) Widget
The widget to place inside the SliverPinnedPersistentHeader.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuild(covariant SliverPinnedPersistentHeaderDelegate oldDelegate) bool
Whether this delegate is meaningfully different from the old delegate.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited