CustomTextWidget constructor
const
CustomTextWidget(
- String texto, {
- Key? key,
- double baseFontSize = 15,
- double minFontSize = 14,
- double maxFontSize = 22,
- bool bold = false,
- Color? color,
- int? maxLines,
- TextOverflow overflow = TextOverflow.ellipsis,
- TextAlign textAlign = TextAlign.start,
- TextLeadingDistribution leadingDistribution = TextLeadingDistribution.proportional,
- double? letterSpacing,
- double? wordSpacing,
- double? height,
- String? semanticLabel,
- bool selectable = false,
Implementation
const CustomTextWidget(
this.texto, {
super.key,
this.baseFontSize = 15,
this.minFontSize = 14,
this.maxFontSize = 22,
this.bold = false,
this.color,
this.maxLines,
this.overflow = TextOverflow.ellipsis,
this.textAlign = TextAlign.start,
this.leadingDistribution = TextLeadingDistribution.proportional,
this.letterSpacing,
this.wordSpacing,
this.height,
this.semanticLabel,
this.selectable = false,
});