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