NxText.small constructor

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

Implementation

factory NxText.small(String text, {
  Color? color,
  Function? onPressed
}) => NxText(
  text,
  fontSize: 12,
  color: color,
  onPressed: onPressed,
);