FileItem constructor

const FileItem({
  1. Key? key,
  2. double? uploadProgress,
  3. VoidCallback? onRemove,
  4. VoidCallback? onRetry,
  5. VoidCallback? onDownload,
  6. Widget? thumbnail,
  7. VoidCallback? onPreview,
  8. required Widget fileName,
  9. Widget? fileSize,
  10. Widget? fileType,
})

Implementation

const FileItem({
  super.key,
  this.uploadProgress,
  this.onRemove,
  this.onRetry,
  this.onDownload,
  this.thumbnail,
  this.onPreview,
  required this.fileName,
  this.fileSize,
  this.fileType,
});