LocalizedText constructor

const LocalizedText(
  1. String text, {
  2. Key? key,
  3. Map<String, dynamic> params = const {},
  4. TextStyle? style,
  5. TextAlign? textAlign,
  6. TextOverflow? overflow,
  7. StrutStyle? strutStyle,
  8. TextDirection? textDirection,
  9. Locale? locale,
  10. bool? softWrap,
  11. double? textScaleFactor,
  12. int? maxLines,
  13. String? semanticsLabel,
  14. TextWidthBasis? textWidthBasis,
  15. TextHeightBehavior? textHeightBehavior,
  16. bool uppercase = false,
  17. bool selectable = false,
})

Implementation

const LocalizedText(
  this.text, {
  Key? key,
  this.params = const {},
  this.style,
  this.textAlign,
  this.overflow,
  this.strutStyle,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.textScaleFactor,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.uppercase = false,
  this.selectable = false,
})  : textSpan = null,
      super(key: key);