display static method
AppTypography
display(
- String text,
- DisplaySize size, {
- TextStyle? style,
- Color? color,
- double? fontSize,
- FontWeight? fontWeight,
- double? letterSpacing,
- double? lineHeight,
- TextAlign? textAlign,
- int? maxLines,
Implementation
static AppTypography display(
String text,
DisplaySize size, {
TextStyle? style,
Color? color,
double? fontSize,
FontWeight? fontWeight,
double? letterSpacing,
double? lineHeight,
TextAlign? textAlign,
int? maxLines,
}) {
return AppTypography(
text: text,
displaySize: size,
style: style,
color: color,
fontSize: fontSize,
fontWeight: fontWeight,
letterSpacing: letterSpacing,
lineHeight: lineHeight,
textAlign: textAlign,
maxLines: maxLines,
);
}