HeadingWidget constructor

const HeadingWidget({
  1. Key? key,
  2. required List<Span> spans,
  3. required double fontSize,
  4. required String font,
  5. required FontWeight weight,
  6. required Color foreground,
  7. required FontWeight boldWeight,
  8. required Color boldForeground,
  9. required Color linkForeground,
  10. required Color codeBackground,
  11. required double codePadding,
  12. required double codeBorderRadius,
  13. required Color codeForeground,
  14. required String codeFont,
  15. required FontWeight codeWeight,
  16. required bool hasLine,
  17. required double lineHeight,
  18. required Color lineColor,
})

Implementation

const HeadingWidget({
  Key? key,
  required this.spans,
  required this.fontSize,
  required this.font,
  required this.weight,
  required this.foreground,
  required this.boldWeight,
  required this.boldForeground,
  required this.linkForeground,
  required this.codeBackground,
  required this.codePadding,
  required this.codeBorderRadius,
  required this.codeForeground,
  required this.codeFont,
  required this.codeWeight,
  required this.hasLine,
  required this.lineHeight,
  required this.lineColor,
}) : super(key: key);