ModernFormImagePicker constructor

const ModernFormImagePicker({
  1. Key? key,
  2. String? label,
  3. void onChanged(
    1. XFile?
    )?,
  4. Widget? child,
  5. bool? enabled,
  6. XFile? image,
  7. String? validator(
    1. XFile?
    )?,
  8. Uint8List? imageMemory,
  9. String? imageUrl,
  10. void onChangePaste(
    1. String url
    )?,
  11. bool? pasteEnabled,
  12. String? helperText,
  13. ImagePickerSizeOptions? sizeOptions,
  14. Future<void> onTapUpload()?,
})

Implementation

const ModernFormImagePicker({
  Key? key,
  this.label,
  this.onChanged,
  this.child,
  this.enabled,
  this.image,
  this.validator,
  this.imageMemory,
  this.imageUrl,
  this.onChangePaste,
  this.pasteEnabled,
  this.helperText,
  this.sizeOptions,
  this.onTapUpload,
}) : super(key: key);