CustomClickableRichText constructor

const CustomClickableRichText(
  1. {Key? key,
  2. required String text,
  3. required String emphasisText,
  4. VoidCallback? onTap,
  5. FontWeight? emphasisTextFontWeight,
  6. TextAlign textAlign = TextAlign.center,
  7. double fontSize = 1.75,
  8. FontWeight fontWeight = FontWeight.normal,
  9. Color? color,
  10. Color? emphasisTextColor,
  11. double? emphasisFontSize}
)

Implementation

const CustomClickableRichText({
  Key? key,
  required this.text,
  required this.emphasisText,
  this.onTap,
  this.emphasisTextFontWeight,
  this.textAlign = TextAlign.center,
  this.fontSize = 1.75,
  this.fontWeight = FontWeight.normal,
  this.color,
  this.emphasisTextColor,
  this.emphasisFontSize,
}) : super(key: key);