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