IndexedTreeNode<T> constructor

IndexedTreeNode<T>({
  1. T? data,
  2. String? key,
  3. 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, super.key, super.parent})
    : this.listenableData = ValueNotifier(data);