TextDefault constructor

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

Implementation

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