ScaleText constructor

const ScaleText(
  1. String text, {
  2. required TextStyle style,
  3. required StrutStyle strutStyle,
  4. required int maxLines,
  5. required TextOverflow overflow,
  6. required TextAlign textAlign,
  7. required TextDirection textDirection,
  8. double minScaleFactor = 0.7,
  9. double maxScaleFactor = 1.3,
})

Implementation

const ScaleText(
  this.text, {
  required this.style,
  required this.strutStyle,
  required this.maxLines,
  required this.overflow,
  required this.textAlign,
  required this.textDirection,
  this.minScaleFactor = 0.7,
  this.maxScaleFactor = 1.3,
});