我使用了 Gemini AI 的 API,该 AI 向我发送了一条带有星号和标签的文本,用于格式化文本,如下所示:
**Knowledge and Information:**
**Answer questions:** Provide factual information and knowledge on a wide range of topics.
**Summarize text:** Extract and condense key points from written content.
**Translate languages:** Convert text between different languages.
**Generate text:** Create original text, such as stories, articles, and poems.
**Calculate and convert:** Perform mathematical operations and convert units.
我想在 flutter 中格式化此文本,以便标题随着 AI 发送的大小而变大,我该怎么做?
我尝试了 Gemini AI 模型,所以我需要帮助重新格式化它在 Flutter 中发送的文本。
如果您的回复带有标签且采用 HTML 形式,您应该使用 flutter_html。
这个软件包简单易用。