Txt constructor
const
Txt(
- String? text, {
- bool hasBold = false,
- bool hasItalic = false,
- bool hasUnderLine = false,
- bool hasLineThrough = false,
- Color? textColor,
- TextStyle? textStyle,
- double? fontSize,
- FontWeight? fontWeight,
- TextOverflow? overflow,
- bool checkOverFlow = false,
- int? maxLine,
- TextAlign textAlign = TextAlign.start,
- String? fontFamily,
- TextDecoration? textDecoration,
- bool removeHTML = false,
- dynamic onTap()?,
- double? lineHeight,
- Key? key,
Implementation
const Txt(
this.text, {
this.hasBold = false,
this.hasItalic = false,
this.hasUnderLine = false,
this.hasLineThrough = false,
this.textColor,
this.textStyle,
this.fontSize,
this.fontWeight,
this.overflow,
this.checkOverFlow = false,
this.maxLine,
this.textAlign = TextAlign.start,
this.fontFamily,
this.textDecoration,
this.removeHTML = false,
this.onTap,
this.lineHeight,
super.key,
});