XText constructor
const
XText(
- String? data, {
- Key? key,
- Color? color,
- double? fontSize,
- FontWeight? fontWeight,
- double? height,
- EdgeInsetsGeometry? padding,
- int? maxLines,
- TextAlign? textAlign,
- bool keepMaxLinesHeight = false,
Implementation
const XText(
this.data, {
Key? key,
this.color,
this.fontSize,
this.fontWeight,
this.height,
this.padding,
this.maxLines,
this.textAlign,
this.keepMaxLinesHeight = false,
}) : super(key: key);