tree_view library

Classes

TreeNode<T>
Represents a node in the TreeView hierarchy.
TreeView<T>
A hierarchical tree view widget for displaying data in a collapsible structure.
TreeViewKey<T>
A GlobalKey for controlling the state of the TreeView.

Typedefs

ExpansionChanged<T> = void Function(TreeNode<T> node, bool expanded)
Callback function when a node expands or collapses.
TreeViewBuilder<T> = Widget Function(BuildContext context, TreeNode<T> node, bool isSelected, Animation<double> expansionAnimation, void select(TreeNode<T> node))
Callback function for building tree nodes, including animation values.