CustomText constructor
const
CustomText({
- Key? key,
- required String text,
- String? fontFamily,
- double? size,
- double? lineHeight,
- Color? color,
- FontWeight? weight,
- FontStyle? fontStyle,
- TextOverflow? overflow,
- TextDecoration? textDecoration,
- bool hasShadow = false,
- TextAlign? textAlign,
- int? maxLines,
- Color? primaryColor,
- bool primary = false,
- bool forValue = false,
Implementation
const CustomText({
super.key,
required this.text,
this.fontFamily,
this.size,
this.lineHeight,
this.color,
this.weight,
this.fontStyle,
this.overflow,
this.textDecoration,
this.hasShadow = false,
this.textAlign,
this.maxLines,
this.primaryColor,
this.primary = false,
this.forValue = false,
});