CustomClickableRichText constructor
const
CustomClickableRichText(- {Key? key,
- required String text,
- required String emphasisText,
- VoidCallback? onTap,
- FontWeight? emphasisTextFontWeight,
- TextAlign textAlign = TextAlign.center,
- double fontSize = 1.75,
- FontWeight fontWeight = FontWeight.normal,
- Color? color,
- Color? emphasisTextColor,
- 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);