TreeItem<T> constructor

TreeItem<T>({
  1. required T data,
  2. List<TreeNode<T>> children = const [],
  3. bool expanded = false,
  4. bool selected = false,
})

Implementation

TreeItem({
  required this.data,
  this.children = const [],
  this.expanded = false,
  this.selected = false,
});