CustomTextWidget constructor

const CustomTextWidget(
  1. String texto, {
  2. Key? key,
  3. double baseFontSize = 15,
  4. double minFontSize = 14,
  5. double maxFontSize = 22,
  6. bool bold = false,
  7. Color? color,
  8. int? maxLines,
  9. TextOverflow overflow = TextOverflow.ellipsis,
  10. TextAlign textAlign = TextAlign.start,
  11. TextLeadingDistribution leadingDistribution = TextLeadingDistribution.proportional,
  12. double? letterSpacing,
  13. double? wordSpacing,
  14. double? height,
  15. String? semanticLabel,
  16. 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,
});