child static method

TreeNode child({
  1. required WidgetBuilder titleBuilder,
  2. required WidgetBuilder builder,
})

Creates a node.

Implementation

static TreeNode child({
  required WidgetBuilder titleBuilder,
  required WidgetBuilder builder,
}) {
  return TreeNode._(
    titleBuilder,
    builder: builder,
  );
}