TolyTreeSelector<T> constructor

const TolyTreeSelector<T>({
  1. Key? key,
  2. required List<TreeNode<T>> nodes,
  3. dynamic onSelectionChanged(
    1. List<TreeNode<T>>
    )?,
  4. double indent = 24.0,
  5. Widget? expandIcon,
  6. Widget? collapseIcon,
  7. Duration animationDuration = const Duration(milliseconds: 200),
})

Implementation

const TolyTreeSelector({
  super.key,
  required this.nodes,
  this.onSelectionChanged,
  this.indent = 24.0,
  this.expandIcon,
  this.collapseIcon,
  this.animationDuration = const Duration(milliseconds: 200),
});