toggleAnimationStyle property
The default AnimationStyle for expanding and collapsing nodes in the TreeView.
The default AnimationStyle.duration uses TreeView.defaultAnimationDuration, which is 150 milliseconds.
The default AnimationStyle.curve uses TreeView.defaultAnimationCurve, which is Curves.linear.
To disable the tree animation, use AnimationStyle.noAnimation.
Implementation
final AnimationStyle? toggleAnimationStyle;