display static method

AppTypography display(
  1. String text,
  2. DisplaySize size, {
  3. TextStyle? style,
  4. Color? color,
  5. double? fontSize,
  6. FontWeight? fontWeight,
  7. double? letterSpacing,
  8. double? lineHeight,
  9. TextAlign? textAlign,
  10. 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,
  );
}