CustomText constructor

const CustomText({
  1. Key? key,
  2. required String text,
  3. Color? txtColor,
  4. TextAlign? txtAlign,
  5. double? font,
  6. int? maxLine,
  7. FontWeight? fntweight,
  8. FontStyle? fntstyle,
  9. double? letterSpace,
  10. TextStyle? textStyle,
  11. TextDecoration? textDecoration,
  12. bool? softWrap,
  13. TextOverflow? ellipsis,
  14. GestureTapCallback? nav,
})

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);