head static method

TextStyle head({
  1. String? fontFamily,
  2. double? fontSize,
  3. double? letterSpacing,
  4. FontWeight? fontWeight,
  5. Color? color,
})

Implementation

static TextStyle head(
    {String? fontFamily,
    double? fontSize,
    double? letterSpacing,
    FontWeight? fontWeight,
    Color? color}) {
  return const TextStyle().custom(
      fontFamily ?? fontDefault,
      fontSize ?? 20,
      letterSpacing ?? 0.25,
      fontWeight ?? FontWeight.bold,
      color ?? colorText);
}