build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Builds the RichText widget displaying the fully processed text.

Implementation

@override
Widget build(BuildContext context) {
  return RichText(
    text: TextSpan(children: _buildTextSpans(context, censorIt.toString())),
    overflow: overflow,
    maxLines: maxLines,
    textAlign: textAlign,
    textDirection: textDirection,
    textScaler: textScaler,
    softWrap: softWrap,
  );
}