subheading function

TextStyle subheading()

The text style for a subheading

Implementation

TextStyle subheading() {
  return accessibility.accessFeatures.boldText == true
      ? GoogleFonts.getFont(fontChoice,
          fontSize: 17,
          fontWeight: FontWeight.w600,
          letterSpacing: 0.4,
          decoration: TextDecoration.none)
      : GoogleFonts.getFont(fontChoice,
          fontSize: 20,
          fontWeight: FontWeight.w300,
          letterSpacing: 0.4,
          decoration: TextDecoration.none);
}