HMSTitleText constructor

const HMSTitleText({
  1. Key? key,
  2. required String text,
  3. required Color textColor,
  4. double? letterSpacing = 0.5,
  5. double? lineHeight = 24,
  6. double? fontSize = 16,
  7. FontWeight? fontWeight = FontWeight.w600,
  8. TextOverflow? textOverflow = TextOverflow.ellipsis,
  9. int? maxLines,
})

Implementation

const HMSTitleText(
    {Key? key,
    required this.text,
    required this.textColor,
    this.letterSpacing = 0.5,
    this.lineHeight = 24,
    this.fontSize = 16,
    this.fontWeight = FontWeight.w600,
    this.textOverflow = TextOverflow.ellipsis,
    this.maxLines})
    : super(key: key);