IndexedTreeNode<T> constructor
IndexedTreeNode<T> ({
- T? data,
- String? key,
- 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);