headline2 static method

TextStyle headline2(
  1. BuildContext context, {
  2. Color? color,
})

Implementation

static TextStyle headline2(BuildContext context, {Color? color}) {
  return createResponsiveStyle(
    fontSize: 28,
    fontWeight: FontWeight.bold,
    color: color ?? Theme.of(context).textTheme.displayMedium?.color,
    height: 1.3,
  );
}