heading2 property

TextStyle get heading2

Middle size of the headline styles.

Headline styles are smaller than display styles. They're best-suited for short, high-emphasis text on smaller screens.

Implementation

TextStyle get heading2 => TextStyle(
      fontSize: 28,
      fontWeight: FontWeight.w500,
      height: 32 / 28,
      fontFamily: fontFamily,
      color: textColor,
    );