headingStyle function

TextStyle headingStyle({
  1. double fontSize = 24.0,
  2. Color? color,
  3. 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,
  );
}