tree_view/tree_view library

Classes

SliverTreeView<Data, Tree extends ITreeNode<Data>>
The SliverTreeView allows to visually display a tree data structure in a linear list which animates the node addition, removal, changes and expansion/collapse of the node.
SliverTreeViewState<Data, Tree extends ITreeNode<Data>>
TreeView<Data, Tree extends ITreeNode<Data>>
The TreeView allows to visually display a tree data structure in a linear list which animates the node addition, removal, changes and expansion/collapse of the node.
TreeViewController<Data, Tree extends ITreeNode<Data>>
Utility class to provide easy access to basic node operations. The TreeViewController also exposes basic scrolling methods that can be used for scrolling to an item or a list index.
TreeViewState<Data, Tree extends ITreeNode<Data>>

Enums

ExpansionBehavior
The ExpansionBehavior provides control over the behavior of the node when it is expanded.

Typedefs

LeveledItemWidgetBuilder<Tree> = Widget Function(BuildContext context, int level, Tree item)
The builder function that allows to build any item of type Tree. The builder function also provides the level of the node.