XText constructor

const XText(
  1. String text, {
  2. EdgeInsets? padding,
  3. double? fontSize,
  4. FontWeight? fontWeight,
  5. String? fontFamily,
  6. Color? color,
  7. FontStyle? fontStyle,
  8. bool useLineThrough = false,
  9. TextOverflow? textOverflow,
  10. int? maxLines,
  11. 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,
});