H2 constructor

H2(
  1. dynamic data, {
  2. Key? key,
  3. TextStyle? style,
})

二级标题

Implementation

H2(super.data, {super.key, TextStyle? style})
  : super(
      style: TextStyle(
        fontSize: 24,
        fontWeight: FontWeight.bold,
      ).merge(style),
    );