EditProfileImage constructor

const EditProfileImage({
  1. Key? key,
  2. required double size,
  3. required ImageDataModel imageData,
  4. dynamic onChange(
    1. ImageDataModel
    )?,
  5. bool isEditable = true,
  6. EdgeInsets? margin,
  7. double? radius,
  8. bool hasGradient = false,
  9. String? error,
  10. String? img,
  11. Color? tintColor,
  12. Gradient? gradient,
  13. dynamic onImageTap()?,
})

Implementation

const EditProfileImage({
  super.key,
  required this.size,
  required this.imageData,
  this.onChange,
  this.isEditable = true,
  this.margin,
  this.radius,
  this.hasGradient = false,
  this.error,
  this.img,
  this.tintColor,
  this.gradient, this.onImageTap,
});