MyImagePicker constructor

const MyImagePicker({
  1. Key? key,
  2. required dynamic onImageSelected(
    1. XFile?
    ),
  3. double? width,
  4. double? height,
  5. String? label,
  6. String? imageUrl,
  7. ImageSource defaultSource = ImageSource.gallery,
})

Implementation

const MyImagePicker({
  super.key,
  required this.onImageSelected,
  this.width,
  this.height,
  this.label,
  this.imageUrl,
  this.defaultSource = ImageSource.gallery,
});