CustomBodyTextView constructor

const CustomBodyTextView({
  1. required String text,
  2. Key? key,
  3. TextStyle? textStyle,
  4. TextAlign? textAlign = TextAlign.center,
  5. double? colourOpacity = 1,
  6. double? fontSize = 14,
  7. FontWeight? fontWeight,
  8. int? maxLine,
  9. Color? fontColor,
  10. TextOverflow? overflow = TextOverflow.ellipsis,
})

Implementation

const CustomBodyTextView({
  required this.text,
  super.key,
  this.textStyle,
  this.textAlign = TextAlign.center,
  this.colourOpacity = 1,
  this.fontSize = 14,
  this.fontWeight,
  this.maxLine,
  this.fontColor,
  this.overflow = TextOverflow.ellipsis,
});