heading2 static method

TextStyle heading2({
  1. Color? color,
  2. FontWeight? fontWeight,
})

Implementation

static TextStyle heading2({Color? color, FontWeight? fontWeight}) {
  return TextStyle(
    fontSize: 28.sp,
    fontWeight: fontWeight ?? FontWeight.bold,
    color: color,
    height: 1.2,
    letterSpacing: -0.5.sp,
  );
}