FileState constructor
- String? uploadFile,
- String? downloadFile,
- String? remoteFileName = 'remoteFileName',
- String? cleanFileName = 'remoteFileName',
- String? remoteFileUrl,
- String? filePreview,
- String? currentPath = basePath,
- bool uploadInProgress = false,
- bool downloadInProgress = false,
- bool deleteInProgress = false,
- bool importInProgress = false,
- bool exportInProgress = false,
- bool uploadDone = false,
- bool downloadDone = false,
- bool deleteDone = false,
- 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,
});