AppTypography constructor
const
AppTypography({
- Key? key,
- required String text,
- Variant? variant,
- TitleType? titleType,
- DisplaySize? displaySize,
- BodySize? bodySize,
- Color? color,
- int? maxLines,
- TextAlign? textAlign,
- double? fontSize,
- FontWeight? fontWeight,
- double? letterSpacing,
- double? lineHeight,
- TextDecoration? decoration,
- List<
Shadow> ? shadows, - FontStyle? fontStyle,
- TextOverflow? overflow,
- StrutStyle? strutStyle,
- TextStyle? style,
- 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);