h1 method
Implementation
Widget h1() {
if (this is WrappedText) {
return (this as WrappedText).copyWithStyle(
(context, theme) => theme.typography.h1,
);
}
return WrappedText(
style: (context, theme) => theme.typography.h1, child: this);
}