h2 static method
Returns a responsive H2 text style.
Implementation
static TextStyle h2(BuildContext context) {
final (config, textScaler) = _deps(context);
return TextStyle(
fontSize: textScaler.scale(config.h2.resolve(context)),
fontWeight: FontWeight.w600,
);
}