MedAppText constructor

const MedAppText(
  1. String data, {
  2. Key? key,
  3. Color? color,
  4. double? fontSize,
  5. FontWeight? fontWeight,
  6. TextAlign? alignment,
  7. int? maxLines,
  8. FontStyle? fontStyle,
  9. double? letterSpacing,
  10. double? wordSpacing,
  11. double? height,
  12. AppTextDecoration? decoration,
  13. Color? decorationColor,
  14. TextDecorationStyle? decorationStyle,
  15. double? decorationThickness,
  16. TextOverflow? overflow,
  17. bool? softWrap,
  18. List<Shadow>? shadows,
  19. VoidCallback? onTap,
  20. bool selectable = false,
  21. TextStyle? textStyle,
  22. Color? backgroundColor,
  23. Gradient? gradient,
  24. String? semanticsLabel,
  25. bool? enableSecurity,
})

Implementation

const MedAppText(
  this.data, {
  super.key,
  this.color,
  this.fontSize,
  this.fontWeight,
  this.alignment,
  this.maxLines,
  this.fontStyle,
  this.letterSpacing,
  this.wordSpacing,
  this.height,
  this.decoration,
  this.decorationColor,
  this.decorationStyle,
  this.decorationThickness,
  this.overflow,
  this.softWrap,
  this.shadows,
  this.onTap,
  this.selectable = false,
  this.textStyle,
  this.backgroundColor,
  this.gradient,
  this.semanticsLabel,
  this.enableSecurity,
});