AutoText constructor
const
AutoText({
- Key? key,
- Key? textKey,
- TextStyle? style,
- StrutStyle? strutStyle,
- double? minFontSize,
- double? maxFontSize,
- List<
double> ? presetFontSizes, - AutoSizeGroup? group,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- bool wrapWords = true,
- TextOverflow? overflow,
- Widget? overflowReplacement,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- required String text,
- 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);