FileBrowser constructor

const FileBrowser({
  1. Key? key,
  2. required RoomClient room,
  3. String initialPath = "",
  4. bool multiple = false,
  5. void onSelectionChanged(
    1. List<String> selection
    )?,
  6. FileBrowserSelectionMode selectionMode = FileBrowserSelectionMode.files,
  7. String rootLabel = "Files",
})

Implementation

const FileBrowser({
  super.key,
  required this.room,
  this.initialPath = "",
  this.multiple = false,
  this.onSelectionChanged,
  this.selectionMode = FileBrowserSelectionMode.files,
  this.rootLabel = "Files",
});