H2 property

TextStyle get H2

use this extension to get text style

example:

Text('data', style: context.H2)

Implementation

TextStyle get H2 => const TextStyle(
      fontSize: 24,
      fontWeight: FontWeight.w300,
      letterSpacing: -0.5,
    );