bodyStyle function

TextStyle bodyStyle({
  1. double fontSize = 14.0,
  2. Color? color,
  3. FontWeight fontWeight = FontWeight.w300,
  4. double? height,
})

Implementation

TextStyle bodyStyle({
  double fontSize = 14.0,
  Color? color,
  FontWeight fontWeight = FontWeight.w300, // Thin/Light modern aesthetic
  double? height,
}) {
  return GoogleFonts.inter(
    fontSize: fontSize,
    color: color ?? textDark,
    fontWeight: fontWeight,
    height: height,
    letterSpacing: -0.2,
    decoration: TextDecoration.none,
  );
}