NiceFileTree constructor
const
NiceFileTree({
- Key? key,
- required List<
NiceFileItem> items, - String? selectedId,
- ValueChanged<
NiceFileItem> ? onItemSelected, - ValueChanged<
NiceFileItem> ? onItemExpanded, - ValueChanged<
NiceFileItem> ? onItemCollapsed, - Widget itemBuilder()?,
- bool showIcons = true,
- 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,
});