AvatarImagePicker constructor

const AvatarImagePicker({
  1. Key? key,
  2. String? imageSource,
  3. void onChanged(
    1. XFile? file
    )?,
  4. int imageQuality = 85,
  5. double maxHeight = 500,
  6. double maxWidth = 500,
  7. bool crop = false,
  8. bool compress = true,
  9. bool cameraEnabled = true,
  10. bool galleryEnabled = true,
  11. double radius = 40,
  12. String? heroTag,
  13. bool showEditIcon = true,
  14. bool isCircleAvatar = true,
  15. VoidCallback? onTapEdit,
  16. Widget? editIcon,
})

Implementation

const AvatarImagePicker({
  super.key,
  this.imageSource,
  this.onChanged,
  this.imageQuality = 85,
  this.maxHeight = 500,
  this.maxWidth = 500,
  this.crop = false,
  this.compress = true,
  this.cameraEnabled = true,
  this.galleryEnabled = true,
  this.radius = 40,
  this.heroTag,
  this.showEditIcon = true,
  this.isCircleAvatar = true,
  this.onTapEdit,
  this.editIcon,
});