h2 property
TextModifier
get
h2
Implementation
TextModifier get h2 => WrappedText(
style: (context, theme) => theme.typography.h2,
wrapper: (context, child) => Container(
margin: const EdgeInsets.only(top: 40),
padding: const EdgeInsets.only(bottom: 8),
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(
color: Theme.of(context).colorScheme.border,
width: 1,
),
),
),
child: child,
),
child: this,
);