AppTypography constructor

const AppTypography({
  1. Key? key,
  2. required String text,
  3. Variant? variant,
  4. TitleType? titleType,
  5. DisplaySize? displaySize,
  6. BodySize? bodySize,
  7. Color? color,
  8. int? maxLines,
  9. TextAlign? textAlign,
  10. double? fontSize,
  11. FontWeight? fontWeight,
  12. double? letterSpacing,
  13. double? lineHeight,
  14. TextDecoration? decoration,
  15. List<Shadow>? shadows,
  16. FontStyle? fontStyle,
  17. TextOverflow? overflow,
  18. StrutStyle? strutStyle,
  19. TextStyle? style,
  20. Color? decorationColor,
})

Implementation

const AppTypography({
  Key? key,
  required this.text,
  this.variant,
  this.titleType,
  this.displaySize,
  this.bodySize,
  this.color,
  this.maxLines,
  this.textAlign,
  this.fontSize,
  this.fontWeight,
  this.letterSpacing,
  this.lineHeight,
  this.decoration,
  this.shadows,
  this.fontStyle,
  this.overflow,
  this.strutStyle,
  this.style,
  this.decorationColor,
}) : super(key: key);