tree_list_adapter library
Classes
- IntRange
- A range of integers.
-
TreeListAdapter<
T> - Adapter that takes a tree model as input and transforms it into a linear list.
Typedefs
-
AnimatedListTreeBuilder<
T> = Widget Function(BuildContext context, TreeListAdapter< T> adapter, int index, AnimatedWidgetBuilderData data) -
This special builder has to be used to allow TreeListAdapter to notify automatically
the AnimatedListView connected to the TreeListAdapter.controller.
The
adapter
can refer to the whole tree or only to a specific section (subtree) of it. Theindex
is the list index referred to the tree o subtree.