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