HMSTitleText constructor
const
HMSTitleText({
- Key? key,
- required String text,
- required Color textColor,
- double? letterSpacing = 0.5,
- double? lineHeight = 24,
- double? fontSize = 16,
- FontWeight? fontWeight = FontWeight.w600,
- TextOverflow? textOverflow = TextOverflow.ellipsis,
- 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);