NxText.small2 constructor

NxText.small2(
  1. String text, {
  2. int? maxLines,
  3. TextOverflow? overflow,
  4. TextAlign? textAlign,
  5. Color? color,
  6. double? lineHeight,
  7. Function? onPressed,
})

Implementation

factory NxText.small2(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: 8,
  fontWeight: FontWeight.w400,
  onPressed: onPressed,
  lineHeight: 1.5,
);