heading1 function

TextStyle heading1()

The text style for a heading one

Implementation

TextStyle heading1() {
  return accessibility.accessFeatures.boldText == true
      ? GoogleFonts.getFont(fontChoice,
          fontSize: 26,
          fontWeight: FontWeight.w500,
          letterSpacing: 0.4,
          decoration: TextDecoration.none)
      : GoogleFonts.getFont(fontChoice,
          fontSize: 29,
          fontWeight: FontWeight.w200,
          letterSpacing: 0.4,
          decoration: TextDecoration.none);
}