TreeNodeWidgetBuilder<Tree> typedef

TreeNodeWidgetBuilder<Tree> = Widget Function(BuildContext context, Tree item)

The builder function that allows to build any item of type Tree. The level has been removed from the builder in version 2.0.0. To get the node level, use the ITreeNode.level instead.

Implementation

typedef TreeNodeWidgetBuilder<Tree> = Widget Function(
  BuildContext context,
  Tree item,
);