NxText.heroTitle constructor
NxText.heroTitle(})
Implementation
factory NxText.heroTitle(String text, {
int? maxLines,
TextOverflow? overflow,
TextAlign? textAlign,
Color? color,
double? lineHeight,
Function? onPressed
}) => NxText(
text,
maxLines: maxLines = 20,
overflow: overflow,
textAlign: textAlign,
color: color,
fontSize: 42,
fontWeight: FontWeight.w600,
onPressed: onPressed,
lineHeight: 1.5,
);