headingStyle function
TextStyle
headingStyle({
- double fontSize = 24.0,
- Color? color,
- FontWeight fontWeight = FontWeight.w300,
Implementation
TextStyle headingStyle({
double fontSize = 24.0,
Color? color,
FontWeight fontWeight = FontWeight.w300, // Thin modern aesthetic
}) {
return GoogleFonts.inter(
fontSize: fontSize,
color: color ?? textDark,
fontWeight: fontWeight,
letterSpacing: -0.5,
decoration: TextDecoration.none,
);
}