XText constructor
const
XText(
- String text, {
- EdgeInsets? padding,
- double? fontSize,
- FontWeight? fontWeight,
- String? fontFamily,
- Color? color,
- FontStyle? fontStyle,
- bool useLineThrough = false,
- TextOverflow? textOverflow,
- int? maxLines,
- Key? key,
Implementation
const XText(
this.text, {
this.padding,
this.fontSize,
this.fontWeight,
this.fontFamily,
this.color,
this.fontStyle,
this.useLineThrough = false,
this.textOverflow,
this.maxLines,
super.key,
});