ColabImageInput constructor

const ColabImageInput({
  1. Key? key,
  2. required double size,
  3. required Function onEdit,
  4. Function? onDelete,
  5. Function? onTapCamera,
  6. Function? onTapAlbum,
  7. String? imagePath,
  8. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
  9. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  10. double circularBorderRadius = borderRadius,
  11. Color backgroundColor = lightGreyColor,
  12. TextStyle textStyle = smallMutedText,
  13. bool border = false,
  14. Color borderColor = whiteColor,
  15. String? helper,
  16. bool hideEdit = false,
  17. bool isImage = true,
  18. String? fileName,
})

Implementation

const ColabImageInput({
  super.key,
  required this.size,
  required this.onEdit,
  this.onDelete,
  this.onTapCamera,
  this.onTapAlbum,
  this.imagePath,
  this.crossAxisAlignment = CrossAxisAlignment.start,
  this.mainAxisAlignment = MainAxisAlignment.start,
  this.circularBorderRadius = borderRadius,
  this.backgroundColor = lightGreyColor,
  this.textStyle = smallMutedText,
  this.border = false,
  this.borderColor = whiteColor,
  this.helper,
  this.hideEdit = false,
  this.isImage = true,
  this.fileName,
});