TextSmall constructor

TextSmall(
  1. String? text, {
  2. Key? key,
  3. FontWeight? fontWeight,
  4. Color? color,
  5. int? maxLines,
  6. double? height,
  7. double? letterSpacing,
  8. double fontSize = 12,
  9. TextStyle? style,
  10. TextOverflow? overflow,
  11. TextAlign? textAlign,
  12. FontType? fontType,
  13. String? fontFamily,
})

Implementation

TextSmall(super.text,
    {super.key,
    super.fontWeight,
    Color? color,
    super.maxLines,
    super.height,
    super.letterSpacing,
    super.fontSize = 12,
    super.style,
    super.overflow,
    super.textAlign,
    super.fontType,
    super.fontFamily})
    : super(color: color ?? GlobalConfig().config.textColor?.smallColor);