TreeViewProps constructor
const
TreeViewProps({
- required List<
TreeNodeData> nodes, - void onNodeSelect(
- TreeNodeData node
- void onNodeToggle(
- TreeNodeData node,
- bool expanded
- TreeViewStyle style = TreeViewStyle.lines,
- TreeSelectionMode selectionMode = TreeSelectionMode.single,
- Set<
String> initiallyExpanded = const {}, - Set<
String> selectedNodes = const {}, - bool expandAll = false,
Implementation
const TreeViewProps({
required this.nodes,
this.onNodeSelect,
this.onNodeToggle,
this.style = TreeViewStyle.lines,
this.selectionMode = TreeSelectionMode.single,
this.initiallyExpanded = const {},
this.selectedNodes = const {},
this.expandAll = false,
});