ArcaneFileUpload constructor

const ArcaneFileUpload({
  1. List<String> accept = const [],
  2. int? maxSize,
  3. bool multiple = false,
  4. void onFilesSelected(
    1. List<UploadedFile>
    )?,
  5. void onError(
    1. String error
    )?,
  6. FileUploadStyle style = FileUploadStyle.dropzone,
  7. FileUploadSize size = FileUploadSize.md,
  8. bool disabled = false,
  9. String? dropzoneText,
  10. String browseText = 'Browse files',
  11. String? helperText,
  12. String? label,
  13. Key? key,
})

Implementation

const ArcaneFileUpload({
  this.accept = const [],
  this.maxSize,
  this.multiple = false,
  this.onFilesSelected,
  this.onError,
  this.style = FileUploadStyle.dropzone,
  this.size = FileUploadSize.md,
  this.disabled = false,
  this.dropzoneText,
  this.browseText = 'Browse files',
  this.helperText,
  this.label,
  super.key,
});