TreeViewNodesAnimation typedef
Represents the animation of the children of a parent TreeViewNode that are animating into or out of view.
The fromIndex
and toIndex
are identify the animating children following
the parent, with the value
representing the status of the current
animation. The value of toIndex
is inclusive, meaning the child at that
index is included in the animating segment.
Provided to RenderTreeViewport as part of RenderTreeViewport.activeAnimations by TreeView to properly offset animating children.
Implementation
typedef TreeViewNodesAnimation = ({
int fromIndex,
int toIndex,
double value,
});