TreeViewNodeBuilder<T> typedef
TreeViewNodeBuilder<T> =
Widget Function(BuildContext context, TreeViewNode<T> node, AnimationStyle toggleAnimationStyle)
Signature for a function that creates a Widget to represent the given TreeViewNode in the TreeView.
Used by TreeView.treeRowBuilder to build rows on demand for the tree.
Implementation
typedef TreeViewNodeBuilder<T> = Widget Function(
BuildContext context,
TreeViewNode<T> node,
AnimationStyle toggleAnimationStyle,
);