animated_tree_view library

Classes

AutoScrollController
AutoScrollTag
AutoScrollTagState<W extends AutoScrollTag>
ChevronIndicator
Uses a chevron to indicate the expansion state. The chevron is rotated when the ITreeNode state expands or collapses.
ExpansionIndicator
ExpansionIndicatorState<T extends ExpansionIndicator>
IIndexedNodeActions
Indent
Indentation
Configuration class for building the Indent.
IndexedListenableNode
IndexedNode
IndexedTreeNode<T>
A IndexedTreeNode that can be used with the IndexedTreeView.
INode
Base class for Node that defines the required interfaces
INodeActions
Base class for Node that defines the actions that a Node can perform
ListenableNode
Node
NoExpansionIndicator
ExpansionIndicator implementation for not showing any expansion indicator.
PageAutoScrollController
PlusMinusIndicator
Uses a plus or minus to indicate the expansion state. Plus shows the collapsed state Minus shows the expanded state
PositionedExpansionIndicator
SimpleAutoScrollController
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>>
TreeNode<T>
A TreeNode that can be used with the TreeView.
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

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

Mixins

AutoScrollControllerMixin
ITreeNode<T>
Base class that allows a data of type T to be wrapped in a ListenableNode

Extensions

StringUtils on String

Functions

buildHighlightTransition({required BuildContext context, required Animation<double> highlight, required Widget child, Color? background, Color? highlightColor}) Widget
defaultViewportBoundaryGetter() Rect
noExpansionIndicatorBuilder<Data>(BuildContext context, ITreeNode<Data> tree) ExpansionIndicator

Typedefs

AxisValueGetter = double Function(Rect rect)
ExpansionIndicatorBuilder<Data> = ExpansionIndicator Function(BuildContext, ITreeNode<Data>)
TagHighlightBuilder = Widget Function(BuildContext context, Animation<double> highlight)
TreeNodeWidgetBuilder<Tree> = Widget Function(BuildContext context, Tree item)
The builder function that allows to build any item of type Tree. The level has been removed from the builder in version 2.0.0. To get the node level, use the ITreeNode.level instead.
TreeReadyCallback<Data, Tree extends ITreeNode<Data>> = void Function(TreeViewController<Data, Tree> controller)
Callback to get the TreeViewController when the TreeView is ready
ViewportBoundaryGetter = Rect Function()