CustomBodyTextView constructor
const
CustomBodyTextView({
- required String text,
- Key? key,
- TextStyle? textStyle,
- TextAlign? textAlign = TextAlign.center,
- double? colourOpacity = 1,
- double? fontSize = 14,
- FontWeight? fontWeight,
- int? maxLine,
- Color? fontColor,
- 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,
});