CustomText constructor
const
CustomText({
- Key? key,
- required String text,
- Color? txtColor,
- TextAlign? txtAlign,
- double? font,
- int? maxLine,
- FontWeight? fntweight,
- FontStyle? fntstyle,
- double? letterSpace,
- TextStyle? textStyle,
- TextDecoration? textDecoration,
- bool? softWrap,
- TextOverflow? ellipsis,
Implementation
const CustomText(
{ Key? key,
required this.text,
this.txtColor,
this.txtAlign,
this.font,
this.maxLine,
this.fntweight,
this.fntstyle,
this.letterSpace,
this.textStyle,
this.textDecoration,
this.softWrap,
this.ellipsis,
this.nav}): super(key: key);