SmartText constructor

SmartText(
  1. String data, {
  2. Key? key,
  3. TextStyle? style,
  4. StrutStyle? strutStyle,
  5. TextAlign textAlign = TextAlign.center,
  6. TextDirection textDirection = TextDirection.ltr,
  7. Locale? locale,
  8. bool withDot = true,
  9. bool wrapWholeWord = false,
  10. bool? softWrap,
  11. double? textScaleFactor,
  12. int? maxLines,
  13. String? semanticsLabel,
  14. 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,
});