FileBrowser constructor
const
FileBrowser({
- Key? key,
- required RoomClient room,
- String initialPath = "",
- bool multiple = false,
- void onSelectionChanged()?,
- FileBrowserSelectionMode selectionMode = FileBrowserSelectionMode.files,
- String rootLabel = "Files",
- FileBrowserHeaderBuilder? headerBuilder,
- FileBrowserRowBuilder? rowBuilder,
- FileBrowserSeparatorBuilder? separatorBuilder,
- FileBrowserEmptyBuilder? emptyBuilder,
- bool showFilesWhenSelectingFolders = false,
- Set<
String> ? allowedFileExtensions, - void onPathChanged(
- String path
Implementation
const FileBrowser({
super.key,
required this.room,
this.initialPath = "",
this.multiple = false,
this.onSelectionChanged,
this.selectionMode = FileBrowserSelectionMode.files,
this.rootLabel = "Files",
this.headerBuilder,
this.rowBuilder,
this.separatorBuilder,
this.emptyBuilder,
this.showFilesWhenSelectingFolders = false,
this.allowedFileExtensions,
this.onPathChanged,
});