thenText method
Appends a text span to the current text widget.
Convenience method for appending plain text.
Parameters:
text(String, required): Text to append.
Returns: Widget — a rich text widget with the appended text.
Example:
Text('Hello ').thenText('World')
Implementation
Widget thenText(String text) {
return then(TextSpan(text: text));
}