AnimatedStackManager<E> class
Manages the children of an AnimatedStack.
The insert and removeAt methods apply to both the internal list and the animated list that belongs to animatedStackKey.
Constructors
-
AnimatedStackManager({required GlobalKey<
AnimatedStackState> animatedStackKey, required RemovedItemBuilder<E> removedItemBuilder, Iterable<E> ? initialItems, Duration? duration})
Properties
-
animatedStackKey
→ GlobalKey<
AnimatedStackState> -
final
- duration → Duration
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setter
- isNotEmpty → bool
-
no setter
- length → int
-
no setter
-
removedItemBuilder
→ RemovedItemBuilder<
E> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
any(
bool test(E)) → bool -
clear(
{Duration? duration}) → void -
contains(
E item) → bool -
indexOf(
E item) → int -
insert(
int index, E item, {Duration? duration}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAt(
int index, {Duration? duration}) → E -
removeWhere(
bool test(E), {Duration? duration}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
int index) → E