FlexibleBottomSheetHeaderDelegate class Null safety

Delegate for configuring a SliverPersistentHeader.

Inheritance

Constructors

FlexibleBottomSheetHeaderDelegate({required double maxHeight, required Widget child, double minHeight = 0})

Properties

child Widget
final
hashCode int
The hash code for this object. [...]
read-only, inherited
maxExtent double
The size of the header when it is not shrinking at the top of the viewport. [...]
read-only, override
maxHeight double
final
minExtent double
The smallest size to allow the header to reach, when it shrinks at the start of the viewport. [...]
read-only, override
minHeight double
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showOnScreenConfiguration PersistentHeaderShowOnScreenConfiguration?
Specifies how floating headers and pinned headers should behave in response to RenderObject.showOnScreen calls. [...]
read-only, inherited
snapConfiguration FloatingHeaderSnapConfiguration?
Specifies how floating headers should animate in and out of view. [...]
read-only, inherited
stretchConfiguration OverScrollHeaderStretchConfiguration?
Specifies an AsyncCallback and offset for execution. [...]
read-only, inherited
vsync TickerProvider?
A TickerProvider to use when animating the header's size changes. [...]
read-only, inherited

Methods

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

Operators

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