TreeAnimationStyle.uniform constructor
One spec for all five families: sets the two root families and leaves the other three inheriting them.
Implementation
factory TreeAnimationStyle.uniform({
required Duration duration,
required Curve curve,
}) {
final spec = TreeAnimationSpec(duration: duration, curve: curve);
return TreeAnimationStyle(expandCollapse: spec, reorderSlide: spec);
}