CollectionReordered<T, K> class
final
Moves a loaded item within the visible item list. This event does not persist ordering.
- Inheritance
-
- Object
- CollectionEvent<
T, K> - CollectionReordered
Constructors
- CollectionReordered({required K key, required int toIndex})
-
Creates a move of
keytotoIndexin the list after removal.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → K
-
Stable key of the loaded item to move.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toIndex → int
-
Destination index in the post-removal list; applying clamps it to valid
bounds.
final
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