NxText.title constructor
NxText.title(})
Implementation
factory NxText.title(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: 12,
fontWeight: FontWeight.w600,
onPressed: onPressed,
lineHeight: 1.5
);