tree_view library

Classes

TreeNode<T>
Represents a tree node in the TreeView
TreeView<T>
A tree view widget that for displaying data hierarchically
TreeViewKey<T>
GlobalKey for controlling the state of the TreeView

Typedefs

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