NxText.bold constructor

NxText.bold(
  1. String text, {
  2. Color? color,
  3. Function? onPressed,
})

Implementation

factory NxText.bold(String text, {
  Color? color,
  Function? onPressed
}) => NxText(
  text,
  color: color,
  fontWeight: FontWeight.w600,
  onPressed: onPressed,
);