ScaleText.rich constructor
const
ScaleText.rich(
- List<
TextSpan> textSpans, { - 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.rich(
List<TextSpan> this.textSpans, {
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,
}) : text = null;