SmartText constructor
SmartText(
- String data, {
- Key? key,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign textAlign = TextAlign.center,
- TextDirection textDirection = TextDirection.ltr,
- Locale? locale,
- bool withDot = true,
- bool wrapWholeWord = false,
- bool? softWrap,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
Implementation
SmartText(
this.data, {
this.key,
this.style,
this.strutStyle,
this.textAlign = TextAlign.center,
this.textDirection = TextDirection.ltr,
this.locale,
this.withDot = true,
this.wrapWholeWord = false,
this.softWrap,
this.textScaleFactor,
this.maxLines,
this.semanticsLabel,
this.textWidthBasis,
});