EndlessStateProperty<T> class abstract

Constructors

EndlessStateProperty()

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
resolve(BuildContext context, Set<EndlessState> states) → T?
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

all<T>(Builder<T> builder) EndlessStateProperty<T>
Convenience method for creating a EndlessStateProperty that resolves to a single value for all states.
done<T>(Builder<T> builder) EndlessStateProperty<T>
Convenience method for creating a EndlessStateProperty that resolves to a single value for the done state.
empty<T>(Builder<T> builder) EndlessStateProperty<T>
Convenience method for creating a EndlessStateProperty that resolves to a single value for the empty state.
loading<T>(Builder<T> builder) EndlessStateProperty<T>
Convenience method for creating a EndlessStateProperty that resolves to a single value for the loading state.
never<T>() EndlessStateProperty<T>
Convenience method for creating a EndlessStateProperty that resolves to null for all states.
resolveWith<T>(StateBuilder<T> builder) EndlessStateProperty<T>
A LoadStateProperty resolver that provides the builder with the set of current states so that it can dynamically choose what to build based on those states.