ProductTitleText constructor
const
ProductTitleText({
- Key? key,
- required String title,
- Color? color,
- double? fontSize,
- FontWeight? fontWeight,
- String? fontFamily,
- ProductTitleSize size = ProductTitleSize.medium,
- int maxLines = 1,
- TextAlign textAlign = TextAlign.left,
- TextOverflow? overflow,
- TextStyle? textStyle,
- double? letterSpacing,
- VoidCallback? onTap,
- bool? enableSecurity,
Implementation
const ProductTitleText({
super.key,
required this.title,
this.color,
this.fontSize,
this.fontWeight,
this.fontFamily,
this.size = ProductTitleSize.medium,
this.maxLines = 1,
this.textAlign = TextAlign.left,
this.overflow,
this.textStyle,
this.letterSpacing,
this.onTap,
this.enableSecurity,
});