AnimationGroup<TKey> class

Shared animation controller for bulk expand/collapse operations.

Uses an AnimationController for smooth forward/reverse transitions.

  • controller.value represents visibility: 0 = hidden, 1 = visible
  • forward() for expanding, reverse() for collapsing
  • Interrupting just changes direction, value continues smoothly

Constructors

AnimationGroup({required AnimationController controller, required Curve curve})

Properties

controller AnimationController
The animation controller driving this group.
final
curve Curve
The curve applied to the animation.
final
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Whether this group has any members.
no setter
memberCount int
Total member count.
no setter
members Set<TKey>
Keys of nodes in this animation group. extent = full * value for all members.
final
pendingRemoval Set<TKey>
Keys that should be removed from visible order when animation completes at value = 0 (i.e., nodes that are collapsing out).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
Gets the curved animation value.
no setter

Methods

dispose() → void
Disposes the animation controller.
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