NxText.headline2 constructor
NxText.headline2(})
Implementation
factory NxText.headline2(String text, {
int? maxLines,
TextOverflow? overflow,
TextAlign? textAlign,
Color? color,
double? lineHeight,
Function? onPressed
}) => NxText(
text,
maxLines: maxLines,
overflow: overflow,
textAlign: textAlign,
color: color,
fontSize: 28,
fontWeight: FontWeight.w700,
onPressed: onPressed,
lineHeight: 1.25,
);