FileUploadView constructor

FileUploadView(
  1. List<UploadResultEntity> selectedFile,
  2. String dirId,
  3. String dirName,
  4. dynamic filesCallback(
    1. List<UploadResultEntity> files
    ), {
  5. Key? key,
  6. Widget? header,
  7. bool isAllowCloud = true,
  8. bool isFixedDir = false,
  9. bool isCanEdit = true,
  10. IPFSFileType fileType = IPFSFileType.any,
  11. List<String>? allowedExtensions,
  12. int maxCount = -1,
})

Implementation

FileUploadView(
    this.selectedFile, this.dirId, this.dirName, this.filesCallback,
    {Key? key,
    this.header,
    this.isAllowCloud = true,
    this.isFixedDir = false,
    this.isCanEdit = true,
    this.fileType = IPFSFileType.any,
    this.allowedExtensions,
    this.maxCount = -1})
    : super(key: key);