MText constructor
const
MText(
- String? data, {
- Key? key,
- Color? color,
- TextDecoration? decoration,
- String? fontFamily,
- double? fontSize,
- FontStyle? fontStyle,
- FontWeight? fontWeight,
- bool forceStrutHeight = false,
- Paint? foreground,
- bool isBold = false,
- bool isDeleted = false,
- bool isItalic = false,
- double? height,
- double? lineHeight,
- Locale? locale,
- int? maxLines,
- TextOverflow? overflow,
- Color? selectionColor,
- String? semanticsLabel,
- List<
Shadow> ? shadows, - bool? softWrap,
- StrutStyle? strutStyle,
- TextStyle? style,
- TextAlign? textAlign,
- TextDirection? textDirection,
- TextHeightBehavior? textHeightBehavior,
- TextScaler? textScaler,
- TextWidthBasis? textWidthBasis,
Implementation
const MText(
this.data, {
super.key,
this.color,
this.decoration,
this.fontFamily,
this.fontSize,
this.fontStyle,
this.fontWeight,
this.forceStrutHeight = false,
this.foreground,
this.isBold = false,
this.isDeleted = false,
this.isItalic = false,
this.height,
this.lineHeight,
this.locale,
this.maxLines,
this.overflow,
this.selectionColor,
this.semanticsLabel,
this.shadows,
this.softWrap,
this.strutStyle,
this.style,
this.textAlign,
this.textDirection,
this.textHeightBehavior,
this.textScaler,
this.textWidthBasis,
}) : textSpan = null,
children = null;