HeadingWidget constructor
const
HeadingWidget({
- Key? key,
- required List<
Span> spans, - required double fontSize,
- required String font,
- required FontWeight weight,
- required Color foreground,
- required FontWeight boldWeight,
- required Color boldForeground,
- required Color linkForeground,
- required Color codeBackground,
- required double codePadding,
- required double codeBorderRadius,
- required Color codeForeground,
- required String codeFont,
- required FontWeight codeWeight,
- required bool hasLine,
- required double lineHeight,
- 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);