EndlessStreamController<T> class

The stream controller used to perform actions on the stream such as loading more data or clearing its existing items.

Constructors

EndlessStreamController()

Properties

clear ↔ void Function({bool lazy})
Clears the items from the stream's list of items. If lazy is specified, it delays clearing the items until the next time it receives new items.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isMounted bool Function()
Whether the widget associated with the controller is mounted.
getter/setter pair
isPaused bool Function()
Whether the stream is currently paused.
getter/setter pair
loadMore ↔ void Function()
Requests for the next batch of data to be emitted on the stream.
getter/setter pair
pause ↔ void Function()
Pauses loading any more data into the stream's list of items, making loadMore() a no-op.
getter/setter pair
remove ↔ void Function(T item)
Removes the given item from the stream's list of items.
getter/setter pair
resume ↔ void Function()
Resumes loading any more data into the stream's list of items. If the stream is not paused, behaves as a no-op.
getter/setter pair
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