CustomRichText constructor
const
CustomRichText({
- Key? key,
- required String firstText,
- required String secondText,
- String thirdText = '',
- double? height,
- double? firstTextFontSize,
- double? secondTextFontSize,
- double? thirdTextFontSize,
- String? firstTextFontFamily,
- String? secondTextFontFamily,
- String? thirdTextFontFamily,
- Color? firstTextColor,
- Color? secondTextColor,
- Color? thirdTextColor,
- FontWeight? firstTextFontWeight,
- FontWeight? secondTextFontWeight,
- FontWeight? thirdTextFontWeight,
- TextDecoration? firstTextDecoration,
- TextDecoration? secondTextDecoration,
- TextDecoration? thirdTextDecoration,
this is the constructor of the custom rich text
Implementation
const CustomRichText({
super.key,
required this.firstText,
required this.secondText,
this.thirdText = '',
this.height,
this.firstTextFontSize,
this.secondTextFontSize,
this.thirdTextFontSize,
this.firstTextFontFamily,
this.secondTextFontFamily,
this.thirdTextFontFamily,
this.firstTextColor,
this.secondTextColor,
this.thirdTextColor,
this.firstTextFontWeight,
this.secondTextFontWeight,
this.thirdTextFontWeight,
this.firstTextDecoration,
this.secondTextDecoration,
this.thirdTextDecoration,
});