TextContent constructor

TextContent(
  1. String text
)

Creates a TextContent with the specified text.

Parameters:

  • text: The text string to inject into the animation

Implementation

TextContent(this.text);