ResponsiveText constructor
const
ResponsiveText(
- String data, {
- Key? key,
- Key? textKey,
- TextStyle? style,
- StrutStyle? strutStyle,
- double minFontSize = 10,
- double maxFontSize = 40,
- List<
double> ? presetFontSizes, - TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- int? maxLines,
- TypeMultiplier? typeMultiplier,
Implementation
const ResponsiveText(
String this.data, {
Key? key,
this.textKey,
this.style,
this.strutStyle,
this.minFontSize = 10,
this.maxFontSize = 40,
this.presetFontSizes,
this.textAlign,
this.textDirection,
this.locale,
this.softWrap,
this.overflow,
this.maxLines,
this.typeMultiplier,
}) : textSpan = null,
super(key: key);