buildTextSpan method
TextSpan
buildTextSpan({
- required BuildContext context,
- TextStyle? style,
- required bool withComposing,
override
Generates TextSpan from Mistake list
Implementation
@override
TextSpan buildTextSpan({
required BuildContext context,
TextStyle? style,
required bool withComposing,
}) {
final formattedTextSpans = _generateSpans(
context,
style: style,
);
return TextSpan(
children: formattedTextSpans.toList(),
);
}