CustomRichTextWidget constructor

const CustomRichTextWidget({
  1. Key? key,
  2. String? title,
  3. String? title2,
  4. String? subtitle,
  5. String? subtitle2,
  6. String? subtitle3,
  7. dynamic onSubtitleTap()?,
  8. dynamic onSubtitleTap2()?,
  9. dynamic onSubtitleTap3()?,
  10. TextStyle? titleStyle,
  11. TextStyle? titleStyle2,
  12. TextStyle? subtitleStyle,
  13. TextStyle? subtitleStyle2,
  14. TextStyle? subtitleStyle3,
  15. TextAlign textAlign = TextAlign.center,
})

Implementation

const CustomRichTextWidget({
  Key? key,
  this.title,
  this.title2,
  this.subtitle,
  this.subtitle2,
  this.subtitle3,
  this.onSubtitleTap,
  this.onSubtitleTap2,
  this.onSubtitleTap3,
  this.titleStyle,
  this.titleStyle2,
  this.subtitleStyle,
  this.subtitleStyle2,
  this.subtitleStyle3,
  this.textAlign = TextAlign.center,
}) : super(key: key);