EndlessStateProperty class

Constructors

EndlessStateProperty(dynamic resolve)

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Static Methods

all(StatelessWidgetResolver builder) → EndlessStateProperty
Resolves the given builder in all cases regardless of the state of the scroll view.
done(StatelessWidgetResolver builder) → EndlessStateProperty
Resolves the given builder if the scroll view is currently in the done state.
empty(StatelessWidgetResolver builder) → EndlessStateProperty
Resolves the given builder if the scroll view is currently in the empty state.
loading(StatelessWidgetResolver builder) → EndlessStateProperty
Resolves the given builder if the scroll view is currently in the loading state.
never() → EndlessStateProperty
Resolves null as the value regardless of the state of the scroll view.
resolveWith(StatefulWidgetResolver<EndlessState> builder) → EndlessStateProperty
The most flexible state property that allows for dynamically resolving the builder function based on the state of the scroll view.
willClear(StatelessWidgetResolver builder) → EndlessStateProperty
Resolves the given builder if the scroll view will clear its current items on next load.