TreeViewNode constructor

const TreeViewNode({
  1. required String label,
  2. List<TreeViewNode> children = const [],
  3. Style? style,
  4. String? icon,
  5. bool expanded = true,
})

Implementation

const TreeViewNode({
  required this.label,
  this.children = const [],
  this.style,
  this.icon,
  this.expanded = true,
});