FileItem constructor
const
FileItem({
- Key? key,
- double? uploadProgress,
- VoidCallback? onRemove,
- VoidCallback? onRetry,
- VoidCallback? onDownload,
- Widget? thumbnail,
- VoidCallback? onPreview,
- required Widget fileName,
- Widget? fileSize,
- 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,
});