FileState constructor

FileState({
  1. String? uploadFile,
  2. String? downloadFile,
  3. String? remoteFileName = 'remoteFileName',
  4. String? cleanFileName = 'remoteFileName',
  5. String? remoteFileUrl,
  6. String? filePreview,
  7. String? currentPath = basePath,
  8. bool uploadInProgress = false,
  9. bool downloadInProgress = false,
  10. bool deleteInProgress = false,
  11. bool importInProgress = false,
  12. bool exportInProgress = false,
  13. bool uploadDone = false,
  14. bool downloadDone = false,
  15. bool deleteDone = false,
  16. bool showPreview = false,
})

Creates a new FileState with default values.

Implementation

FileState({
  this.uploadFile,
  this.downloadFile,
  this.remoteFileName = 'remoteFileName',
  this.cleanFileName = 'remoteFileName',
  this.remoteFileUrl,
  this.filePreview,
  this.currentPath = basePath,
  this.uploadInProgress = false,
  this.downloadInProgress = false,
  this.deleteInProgress = false,
  this.importInProgress = false,
  this.exportInProgress = false,
  this.uploadDone = false,
  this.downloadDone = false,
  this.deleteDone = false,
  this.showPreview = false,
});