subhead static method
TextStyle
subhead({
- String? fontFamily,
- double? fontSize,
- double? letterSpacing,
- FontWeight? fontWeight,
- Color? color,
Implementation
static TextStyle subhead(
{String? fontFamily,
double? fontSize,
double? letterSpacing,
FontWeight? fontWeight,
Color? color}) {
return const TextStyle().custom(
fontFamily ?? fontDefault,
fontSize ?? 18,
letterSpacing ?? 0.25,
fontWeight ?? FontWeight.bold,
color ?? colorText);
}