ScaleText constructor
const
ScaleText(
- String text, {
- required TextStyle style,
- required StrutStyle strutStyle,
- required int maxLines,
- required TextOverflow overflow,
- required TextAlign textAlign,
- required TextDirection textDirection,
- double minScaleFactor = 0.7,
- 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,
});