RefreshConfiguration class

Configuration for the pull-to-refresh indicator used by AbstractListBuilder.

When supplied (either on AbstractConfiguration for a global default or on AbstractListBuilder for a per-list override), the default Material RefreshIndicator is replaced by AbstractRefreshIndicator and the values here drive its appearance and behaviour.

New override points (e.g. trigger distance, drag damping, spin duration) should be added here rather than as new top-level fields on AbstractConfiguration.

Constructors

RefreshConfiguration({required Widget icon})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon Widget
Icon rendered by AbstractRefreshIndicator. Typically an Icon or SvgPicture around 24-32 logical pixels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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