NxText.accent constructor
NxText.accent(
- String text, {
- double? fontSize,
- FontWeight? fontWeight,
- Color? color,
- Function? onPressed,
Implementation
factory NxText.accent(String text, {
double? fontSize,
FontWeight? fontWeight,
Color? color,
Function? onPressed
}) => NxText(
text,
fontSize: fontSize,
fontWeight: fontWeight,
defaultColor: NxColor.accent,
onPressed: onPressed,
);