MiuixText constructor

const MiuixText(
  1. String text, {
  2. Key? key,
  3. Color? color,
  4. double? fontSize,
  5. FontWeight? fontWeight,
  6. String? fontFamily,
  7. double? letterSpacing,
  8. FontStyle? fontStyle,
  9. TextDecoration? decoration,
  10. TextAlign? textAlign,
  11. double? height,
  12. int? maxLines,
  13. TextOverflow? overflow,
  14. bool softWrap = true,
  15. TextStyle? style,
})

Implementation

const MiuixText(
  this.text, {
  super.key,
  this.color,
  this.fontSize,
  this.fontWeight,
  this.fontFamily,
  this.letterSpacing,
  this.fontStyle,
  this.decoration,
  this.textAlign,
  this.height,
  this.maxLines,
  this.overflow,
  this.softWrap = true,
  this.style,
});