NiceTreeSelect<T> constructor

const NiceTreeSelect<T>({
  1. Key? key,
  2. required List<NiceTreeSelectNode<T>> nodes,
  3. List<T> selectedValues = const [],
  4. ValueChanged<List<T>>? onChanged,
  5. String? label,
  6. String placeholder = 'Select...',
  7. bool multiSelect = true,
  8. bool searchable = true,
})

Implementation

const NiceTreeSelect({
  super.key,
  required this.nodes,
  this.selectedValues = const [],
  this.onChanged,
  this.label,
  this.placeholder = 'Select...',
  this.multiSelect = true,
  this.searchable = true,
});