NxText.primary constructor
NxText.primary(})
Implementation
factory NxText.primary(String text, {
int? maxLines,
TextOverflow? overflow,
TextAlign? textAlign,
double? lineHeight,
Function? onPressed
}) => NxText(
text,
maxLines: maxLines,
overflow: overflow,
textAlign: textAlign,
fontSize: 14,
fontWeight: FontWeight.w300,
onPressed: onPressed,
lineHeight: 1.5,
defaultColor: NxColor.primary,
);