OverScrollHeaderStretchConfiguration class

Specifies how a stretched header is to trigger an AsyncCallback.

See also:

  • SliverAppBar, which creates a header that can be stretched into an overscroll area and trigger a callback function.

Constructors

OverScrollHeaderStretchConfiguration({double stretchTriggerOffset = 100.0, AsyncCallback? onStretchTrigger})
Creates an object that specifies how a stretched header may activate an AsyncCallback.

Properties

hashCode int
The hash code for this object.
no setterinherited
onStretchTrigger AsyncCallback?
The callback function to be executed when a user over-scrolls to the offset specified by stretchTriggerOffset.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stretchTriggerOffset double
The offset of overscroll required to trigger the onStretchTrigger.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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