AppAutoSizeText constructor
AppAutoSizeText(
- String data, {
- Key? key,
- Key? textKey,
- TextStyle? style,
- StrutStyle? strutStyle,
- double? minFontSize,
- double maxFontSize = double.infinity,
- double stepGranularity = 1,
- 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,
Implementation
AppAutoSizeText(
super.data, {
super.key,
super.textKey,
super.style,
super.strutStyle,
double? minFontSize,
super.maxFontSize = double.infinity,
super.stepGranularity = 1,
super.presetFontSizes,
super.group,
super.textAlign,
super.textDirection,
super.locale,
super.softWrap,
super.wrapWords = true,
super.overflow,
super.overflowReplacement,
super.textScaleFactor,
super.maxLines,
super.semanticsLabel,
}) : super(minFontSize: minFontSize ?? 10.sp.toInt().toDouble());