ColabVideoInput constructor

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

Implementation

const ColabVideoInput({
  super.key,
  required this.size,
  required this.onDelete,
  this.onTapCamera,
  this.onTapAlbum,
  this.videoPath,
  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,
});