TextWidget constructor
const
TextWidget({
- 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,
Implementation
const TextWidget({
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,
}) : super(key: key);