HMSSubtitleText constructor
const
HMSSubtitleText({
- Key? key,
- required String text,
- required Color textColor,
- double? letterSpacing = 0.4,
- double? lineHeight = 16,
- double? fontSize = 12,
- FontWeight? fontWeight = FontWeight.w400,
- TextOverflow? textOverflow = TextOverflow.ellipsis,
- TextAlign? textAlign,
- 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);