sliver_tree/tree_controller library

Controller that manages tree state, visibility, and animations.

Classes

AnimationReader<TKey>
Narrow read interface that the render layer depends on instead of TreeController. Allows render-layer tests to stub animation reads without standing up a full controller.
TreeController<TKey, TData>
Controller for a SliverTree widget.

Typedefs

TreeRenderHost = bool Function({required Curve curve, required Duration duration})
Callback registered by every RenderSliverTree attached to a TreeController.