ColabImageInput constructor
const
ColabImageInput({
- Key? key,
- required double size,
- required Function onEdit,
- Function? onDelete,
- Function? onTapCamera,
- Function? onTapAlbum,
- String? imagePath,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- double circularBorderRadius = borderRadius,
- Color backgroundColor = lightGreyColor,
- TextStyle textStyle = smallMutedText,
- bool border = false,
- Color borderColor = whiteColor,
- String? helper,
- bool hideEdit = false,
- bool isImage = true,
- 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,
});