CustomTextWidget constructor
const
CustomTextWidget({
- Key? key,
- required String text,
- Color? textColor,
- double fontSize = 16.0,
- int? maxLines,
- FontWeight? fontWeight,
- TextAlign? textAlign,
- VoidCallback? onTap,
- TextDecoration? decoration,
- String? fontFamily,
Implementation
const CustomTextWidget({
super.key,
required this.text,
this.textColor,
this.fontSize = 16.0,
this.maxLines,
this.fontWeight,
this.textAlign,
this.onTap,
this.decoration,
this.fontFamily,
});