heading4 function
The text style for a heading four
Implementation
TextStyle heading4() {
return accessibility.accessFeatures.boldText == true
? GoogleFonts.getFont(fontChoice,
fontSize: 14,
fontWeight: FontWeight.w900,
letterSpacing: 1.0,
decoration: TextDecoration.none)
: GoogleFonts.getFont(fontChoice,
fontSize: 17,
fontWeight: FontWeight.w600,
letterSpacing: 1.0,
decoration: TextDecoration.none);
}