NxText.title constructor
NxText.title(})
Implementation
factory NxText.title(String text, {
int? maxLines,
TextAlign? textAlign,
Color? color,
Function? onPressed
}) => NxText(
text,
maxLines: maxLines,
textAlign: textAlign,
color: color,
fontSize: 20,
fontWeight: FontWeight.w600,
onPressed: onPressed,
);