ProductTitleText constructor

const ProductTitleText({
  1. Key? key,
  2. required String title,
  3. Color? color,
  4. double? fontSize,
  5. FontWeight? fontWeight,
  6. String? fontFamily,
  7. ProductTitleSize size = ProductTitleSize.medium,
  8. int maxLines = 1,
  9. TextAlign textAlign = TextAlign.left,
  10. TextOverflow? overflow,
  11. TextStyle? textStyle,
  12. double? letterSpacing,
  13. VoidCallback? onTap,
  14. 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,
});