NiceFileDropZone constructor

const NiceFileDropZone({
  1. Key? key,
  2. Widget? child,
  3. String? label,
  4. String? hint,
  5. List<String>? allowedExtensions,
  6. int? maxFiles,
  7. int? maxFileSize,
  8. bool enabled = true,
  9. ValueChanged<List<NiceDroppedFile>>? onFilesDropped,
  10. VoidCallback? onTap,
})

Implementation

const NiceFileDropZone({
  super.key,
  this.child,
  this.label,
  this.hint,
  this.allowedExtensions,
  this.maxFiles,
  this.maxFileSize,
  this.enabled = true,
  this.onFilesDropped,
  this.onTap,
});