XText constructor

const XText(
  1. String? data, {
  2. Key? key,
  3. Color? color,
  4. double? fontSize,
  5. FontWeight? fontWeight,
  6. double? height,
  7. EdgeInsetsGeometry? padding,
  8. int? maxLines,
  9. TextAlign? textAlign,
  10. 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);