NiceTreeNode<T> constructor

NiceTreeNode<T>({
  1. required String key,
  2. required T data,
  3. List<NiceTreeNode<T>> children = const [],
  4. bool expanded = false,
  5. IconData? icon,
})

Implementation

NiceTreeNode({
  required this.key,
  required this.data,
  this.children = const [],
  this.expanded = false,
  this.icon,
});