InfiniteListState<T> class
Represents the state of the list containing items of type T.
Constructors
-
InfiniteListState({required List<
T> items}) - Constructs an instance of InfiniteListState.
- InfiniteListState.empty()
-
Factory method to create an empty InfiniteListState instance.
factory
Properties
Methods
-
copyWith(
{List< T> ? items}) → InfiniteListState<T> - Creates a copy of InfiniteListState with the given fields replaced.
-
moreItems(
{required List< T> newItems}) → InfiniteListState<T> -
Creates a copy of InfiniteListState with additional
newItems. -
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