heading1 static method

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

Implementation

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