TodayDropzone constructor

const TodayDropzone({
  1. Key? key,
  2. String? label,
  3. String? description,
  4. bool disable = false,
  5. dynamic onDrop(
    1. String fileName,
    2. Uint8List fileData
    )?,
  6. dynamic onRemoved(
    1. String fileName
    )?,
  7. dynamic onError(
    1. String error
    )?,
  8. dynamic onReset()?,
  9. bool uploadedFullWidth = false,
  10. double width = 196,
  11. required List<String> mimeTypes,
})

Implementation

const TodayDropzone({
  super.key,
  this.label,
  this.description,
  this.disable = false,
  this.onDrop,
  this.onRemoved,
  this.onError,
  this.onReset,
  this.uploadedFullWidth = false,
  this.width = 196,
  required this.mimeTypes,
});