AnimatedListDiffListDispatcher<T> class

This class extends AnimatedListDiffDispatcher in order to handle easier the simplified version with Lists objects.

Inheritance

Constructors

AnimatedListDiffListDispatcher({required AnimatedListController controller, required AnimatedListDiffListBuilder<T> itemBuilder, required List<T> currentList, required AnimatedListDiffListBaseComparator<T> comparator, int spawnNewInsolateCount = kSpawnNewIsolateCount})

Properties

builder AnimatedListDiffBuilder<List<T>>
finalinherited
comparator AnimatedListDiffBaseComparator<List<T>>
finalinherited
controller AnimatedListController
finalinherited
currentList List<T>
It returns the current underlying list. This corresponds to the last list passed to the dispatchNewList method if only the Meyes algorithm is not yet running.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasPendingTask bool
It returns true if the Meyes algorithm is still running.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spawnNewInsolateCount int
finalinherited

Methods

discard() List<T>?
It stops this dispatcher from processing the Meyes algorithm and returns the list is currently being processed, if any.
inherited
dispatchNewList(List<T> newList, {bool detectMoves = false}) Future<void>
It replaces the current list with the new one. Differences are calculated and then dispatched to the controller.
inherited
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