PodFileList constructor

const PodFileList({
  1. Key? key,
  2. required List<PodFileItem> items,
  3. void onDirectoryTap(
    1. PodFileItem item
    )?,
  4. void onFileTap(
    1. PodFileItem item
    )?,
  5. void onDelete(
    1. PodFileItem item
    )?,
  6. void onDownload(
    1. PodFileItem item
    )?,
  7. bool showDelete = true,
  8. bool canDelete(
    1. PodFileItem item
    )?,
  9. String? selectedFilePath,
})

Implementation

const PodFileList({
  super.key,
  required this.items,
  this.onDirectoryTap,
  this.onFileTap,
  this.onDelete,
  this.onDownload,
  this.showDelete = true,
  this.canDelete,
  this.selectedFilePath,
});