ListController<T> class abstract interface

Mutable list state returned by useList.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → List<T>
An unmodifiable live view of the current values.
no setter

Methods

add(T item) → void
Appends item.
addAll(Iterable<T> items) → void
Appends items, skipping the update when items is empty.
clear() → void
Removes every value, skipping the update when already empty.
insert(int index, T item) → void
Inserts item at index.
insertAll(int index, Iterable<T> items) → void
Inserts items at index, skipping the update when items is empty.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(T item) → bool
Removes the first occurrence of item and reports whether it was found.
removeAt(int index) → T
Removes and returns the value at index.
replaceAll(Iterable<T> items) → void
Replaces all values when their ordered contents differ.
setAt(int index, T item) → void
Replaces the value at index when it differs from item.
toString() → String
A string representation of this object.
inherited

Operators

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