completeText method
Widget showing the complete text (when animation is complete or paused). By default, it shows a Text widget, but this may be overridden.
Implementation
@override
Widget completeText(BuildContext context) => RichText(
text: TextSpan(
children: [
TextSpan(text: text),
TextSpan(
text: cursor,
style: const TextStyle(color: Colors.transparent),
)
],
style: DefaultTextStyle.of(context).style.merge(textStyle),
),
textAlign: textAlign,
);