ScaleText.rich constructor

const ScaleText.rich(
  1. List<TextSpan> textSpans, {
  2. Key? key,
  3. TextStyle? style,
  4. StrutStyle? strutStyle,
  5. int? maxLines,
  6. TextOverflow? overflow,
  7. TextAlign? textAlign,
  8. TextDirection? textDirection,
  9. String? semanticsLabel,
  10. bool? softWrap,
  11. double minScaleFactor = 0.7,
  12. 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;