TreeViewNodeBuilder typedef

TreeViewNodeBuilder = Widget Function(BuildContext context, TreeViewNode<Object?> 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 = Widget Function(
  BuildContext context,
  TreeViewNode<Object?> node,
  AnimationStyle toggleAnimationStyle,
);