ArcaneFileUpload constructor
const
ArcaneFileUpload({
- List<
String> accept = const [], - int? maxSize,
- bool multiple = false,
- void onFilesSelected()?,
- void onError(
- String error
- FileUploadStyle style = FileUploadStyle.dropzone,
- FileUploadSize size = FileUploadSize.md,
- bool disabled = false,
- String? dropzoneText,
- String browseText = 'Browse files',
- String? helperText,
- String? label,
- 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,
});