NiceFileBrowser constructor
const
NiceFileBrowser({
- Key? key,
- required List<
NiceFileItem> items, - NiceFileBrowserViewMode viewMode = NiceFileBrowserViewMode.list,
- bool multiSelect = false,
- List<
String> selectedIds = const [], - ValueChanged<
List< ? onSelectionChanged,String> > - ValueChanged<
NiceFileItem> ? onItemTap, - ValueChanged<
NiceFileItem> ? onItemDoubleTap, - void onItemAction()?,
- bool showPath = true,
- String? currentPath,
- ValueChanged<
String> ? onPathChanged, - bool showSearch = true,
- bool showToolbar = true,
- List<
NiceFileAction> ? contextActions,
Implementation
const NiceFileBrowser({
super.key,
required this.items,
this.viewMode = NiceFileBrowserViewMode.list,
this.multiSelect = false,
this.selectedIds = const [],
this.onSelectionChanged,
this.onItemTap,
this.onItemDoubleTap,
this.onItemAction,
this.showPath = true,
this.currentPath,
this.onPathChanged,
this.showSearch = true,
this.showToolbar = true,
this.contextActions,
});