buildPlainSpan method

  1. @override
InlineSpan buildPlainSpan(
  1. String text
)
override

Builds a span for normal (non-censored) text.

This method is called for text portions that do not contain profanity.

Parameters:

  • text - The text content to render

Returns a TSpan with the given text.

Implementation

@override
InlineSpan buildPlainSpan(String text) => TextSpan(
  text: text,
  style: style,
);