ScaleText constructor
const
ScaleText(
- String text, {
- Key? key,
- TextStyle? style,
- StrutStyle? strutStyle,
- int? maxLines,
- TextOverflow? overflow,
- TextAlign? textAlign,
- TextDirection? textDirection,
- String? semanticsLabel,
- bool? softWrap,
- double minScaleFactor = 0.7,
- double maxScaleFactor = 1.3,
Implementation
const ScaleText(
String this.text, {
super.key,
this.style,
this.strutStyle,
this.maxLines,
this.overflow,
this.textAlign,
this.textDirection,
this.semanticsLabel,
this.softWrap,
this.minScaleFactor = 0.7,
this.maxScaleFactor = 1.3,
}) : textSpans = null;