AnimatedListTreeBuilder<T> typedef

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. The index is the list index referred to the tree o subtree.

Implementation

typedef AnimatedListTreeBuilder<T> = Widget Function(BuildContext context,
    TreeListAdapter<T> adapter, int index, AnimatedWidgetBuilderData data);