heading2 function

TextStyle heading2()

The text style for a heading two

Implementation

TextStyle heading2() {
  return accessibility.accessFeatures.boldText == true
      ? GoogleFonts.getFont(fontChoice,
          fontSize: 21,
          fontWeight: FontWeight.w600,
          letterSpacing: 1.2,
          decoration: TextDecoration.none)
      : GoogleFonts.getFont(fontChoice,
          fontSize: 24,
          fontWeight: FontWeight.w300,
          letterSpacing: 1.2,
          decoration: TextDecoration.none);
}