NodeController constructor

NodeController({
  1. NodeController? parent,
  2. TreeNodeItem? nodeItem,
  3. ExpandCallback? expandCallback,
})

Implementation

NodeController({this.parent, this.nodeItem, this.expandCallback})
    : treeNode = TreeNode(lazyItem: nodeItem, expandCallback: expandCallback),
      _index = min,
      _level = min,
      _numberOfVisibleChildren = min,
      _mutableChildControllers = [];