IndexedTreeNode<T> constructor

IndexedTreeNode<T>({
  1. T? data,
  2. bool isExpanded = false,
  3. String? key,
  4. IndexedNode? parent,
})

A IndexedTreeNode constructor that can be used with the IndexedTreeView. Any data of type T can be wrapped with IndexedTreeView

Implementation

IndexedTreeNode({T? data, this.isExpanded = false, super.key, super.parent})
    : this.listenableData = ValueNotifier(data);