AutoText constructor

const AutoText({
  1. Key? key,
  2. Key? textKey,
  3. TextStyle? style,
  4. StrutStyle? strutStyle,
  5. double? minFontSize,
  6. double? maxFontSize,
  7. List<double>? presetFontSizes,
  8. AutoSizeGroup? group,
  9. TextAlign? textAlign,
  10. TextDirection? textDirection,
  11. Locale? locale,
  12. bool? softWrap,
  13. bool wrapWords = true,
  14. TextOverflow? overflow,
  15. Widget? overflowReplacement,
  16. double? textScaleFactor,
  17. int? maxLines,
  18. String? semanticsLabel,
  19. required String text,
  20. TextSpan? textSpan,
})

Implementation

const AutoText(
    {Key? key,
    this.textKey,
    this.style,
    this.strutStyle,
    this.minFontSize,
    this.maxFontSize,
    this.presetFontSizes,
    this.group,
    this.textAlign,
    this.textDirection,
    this.locale,
    this.softWrap,
    this.wrapWords = true,
    this.overflow,
    this.overflowReplacement,
    this.textScaleFactor,
    this.maxLines,
    this.semanticsLabel,
    required this.text,
    this.textSpan})
    : super(key: key);