EntryTransitions<K> class

Each entry runs on a controller of its own, so a change made while another entry still moves leaves that one running.

Constructors

EntryTransitions({required TickerProvider vsync, required ValueChanged<K> onLeft})

Properties

hashCode → int
The hash code for this object.
no setterinherited
leaving → Iterable<K>
no setter
onLeft → ValueChanged<K>
Runs once K has collapsed, outside the frame that finished it, so the owner may drop the entry with setState even while being built.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vsync → TickerProvider
final

Methods

animationOf(K key) → Animation<double>?
dispose() → void
enter(K key, Duration duration) → void
isLeaving(K key) → bool
leave(K key, Duration duration) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
place(Iterable<K> keys, {int trailing = 0}) → void
Places the staying keys in one run of rounded rows, ahead of trailing rows that close it; a leaving key keeps the place it had.
positionOf(K key) → ItemPosition
sync<T>(List<T> entries, List<T> next, K keyOf(T item), Duration duration) → List<T>
Moves entries to next, keeping the ones it drops while they leave.
toString() → String
A string representation of this object.
inherited

Operators

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