MiuixText constructor
const
MiuixText(
- String text, {
- Key? key,
- Color? color,
- double? fontSize,
- FontWeight? fontWeight,
- String? fontFamily,
- double? letterSpacing,
- FontStyle? fontStyle,
- TextDecoration? decoration,
- TextAlign? textAlign,
- double? height,
- int? maxLines,
- TextOverflow? overflow,
- bool softWrap = true,
- 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,
});