NiceFileTree constructor

const NiceFileTree({
  1. Key? key,
  2. required List<NiceFileItem> items,
  3. String? selectedId,
  4. ValueChanged<NiceFileItem>? onItemSelected,
  5. ValueChanged<NiceFileItem>? onItemExpanded,
  6. ValueChanged<NiceFileItem>? onItemCollapsed,
  7. Widget itemBuilder(
    1. NiceFileItem
    )?,
  8. bool showIcons = true,
  9. double indentWidth = 20,
})

Implementation

const NiceFileTree({
  super.key,
  required this.items,
  this.selectedId,
  this.onItemSelected,
  this.onItemExpanded,
  this.onItemCollapsed,
  this.itemBuilder,
  this.showIcons = true,
  this.indentWidth = 20,
});