class_docstr: Display plain text.
class_docstr_tok: ["Display","plain","text","."]
code: def __init__(self, text: AnyFormattedText, style: str = "") -> None:
      self.text = to_formatted_text(text, style=style)
  
imports: from __future__ import annotations
  import datetime
  import time
  from abc import ABCMeta, abstractmethod
  from typing import TYPE_CHECKING
  from prompt_toolkit.formatted_text import HTML, AnyFormattedText, StyleAndTextTuples, to_formatted_text
  from prompt_toolkit.formatted_text.utils import fragment_list_width
  from prompt_toolkit.layout.dimension import AnyDimension, D
  from prompt_toolkit.layout.utils import explode_text_fragments
  from prompt_toolkit.utils import get_cwidth
label_desc: Use image node_id 1 to create a new Text object from inherited base classes: Formatter with example: obj = Text(text, style)