HMSSubtitleText constructor

const HMSSubtitleText({
  1. Key? key,
  2. required String text,
  3. required Color textColor,
  4. double? letterSpacing = 0.4,
  5. double? lineHeight = 16,
  6. double? fontSize = 12,
  7. FontWeight? fontWeight = FontWeight.w400,
  8. TextOverflow? textOverflow = TextOverflow.ellipsis,
  9. TextAlign? textAlign,
  10. int? maxLines,
})

Implementation

const HMSSubtitleText(
    {Key? key,
    required this.text,
    required this.textColor,
    this.letterSpacing = 0.4,
    this.lineHeight = 16,
    this.fontSize = 12,
    this.fontWeight = FontWeight.w400,
    this.textOverflow = TextOverflow.ellipsis,
    this.textAlign,
    this.maxLines})
    : super(key: key);