nodeBuilder property
Builder function that creates a widget for each visible tree node.
The nodeKey parameter is the unique identifier for the node.
The nodeDepth parameter is the nesting level (0 for roots).
Use TreeController.getNodeData to look up the node's data payload.
The returned widget should typically be a fixed-height item like ListTile or a custom row widget. Variable-height items are supported but may affect scroll performance.
Implementation
final Widget Function(BuildContext context, TKey nodeKey, int nodeDepth)
nodeBuilder;