ArcaneTreeView constructor

const ArcaneTreeView({
  1. required List<TreeNode> nodes,
  2. void onNodeSelect(
    1. TreeNode node
    )?,
  3. void onNodeToggle(
    1. TreeNode node,
    2. bool expanded
    )?,
  4. TreeViewStyle style = TreeViewStyle.lines,
  5. TreeSelectionMode selectionMode = TreeSelectionMode.single,
  6. Set<String> initiallyExpanded = const {},
  7. Set<String> selectedNodes = const {},
  8. bool expandAll = false,
  9. Key? key,
})

Implementation

const ArcaneTreeView({
  required this.nodes,
  this.onNodeSelect,
  this.onNodeToggle,
  this.style = TreeViewStyle.lines,
  this.selectionMode = TreeSelectionMode.single,
  this.initiallyExpanded = const {},
  this.selectedNodes = const {},
  this.expandAll = false,
  super.key,
});