NxText.headline4 constructor
NxText.headline4(})
Implementation
factory NxText.headline4(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: 20,
fontWeight: FontWeight.w700,
onPressed: onPressed,
lineHeight: 1.25,
);