OperationGroup<TKey> class

Animation group for a single expand/collapse operation.

Each call to TreeController.expand or TreeController.collapse creates an OperationGroup with its own AnimationController. This provides automatic proportional timing on reversal: collapsing a 60%-done expand takes 60% of the duration, not 100%.

Constructors

OperationGroup({required AnimationController controller, required Curve curve, required TKey operationKey})

Properties

controller → AnimationController
The animation controller driving this group.
final
curve → Curve
The curve applied to the animation.
final
curvedValue → double
Gets the curved animation value.
no setter
hashCode → int
The hash code for this object.
no setterinherited
members → Map<TKey, NodeGroupExtent>
Per-node extent data for members of this group.
final
operationKey → TKey
The node whose expand/collapse created this group.
final
pendingRemoval → Set<TKey>
Keys that should be removed from visible order when animation completes at value = 0 (nodes that are collapsing out).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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