flutter_streaming_text_markdown
1.11.2, released 4 weeks ago by dilacode.com
Stream LLM responses into Flutter as live markdown with typewriter animations and markdown support.
WASM-readyRock solid
What it does
Takes a Stream of text chunks from an LLM and renders them smoothly as markdown with built-in typewriter or fade animations, LaTeX support, and RTL text handling. It also provides programmatic controls like pause, resume, and skip.
AI-written summary of version 1.11.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to render incoming token streams from LLMs like ChatGPT, Claude, or Gemini as live markdown.
- You want typewriter or fade reveal animations for streamed text without breaking markdown syntax.
Skip it when
- You only need to display static markdown that never streams.
- You are building a complete chat UI with bubbles, composer, and scroll management (use a chat UI package instead).
Strengths
- Optimized specifically for LLM text streaming with smooth pacing and animations.
- Tolerates half-finished markdown syntax without flashing raw markers.
- Includes presets for popular AI models like ChatGPT and Claude.
Weaknesses
- Depends on specific third-party markdown and math rendering packages.
- Animation and styling require configuring custom themes or passing specific parameters.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
class ReplyView extends StatelessWidget {
const ReplyView({super.key});
@override
Widget build(BuildContext context) {
return StreamingTextMarkdown.claude(stream: fakeLlmReply());
}
}Alternatives
Packages that do the same job and could replace flutter_streaming_text_markdown.
- colorist_ui
A Flutter library of UI components for an LLM codelab.
69Compare
Works with
Packages commonly used together with flutter_streaming_text_markdown: ones it builds on, ones built on it, and its own family.
- charactersflutter_streaming_text_markdown depends on itUnicode and grapheme cluster aware string manipulation operations for Dart.
- flutter_math_forkflutter_streaming_text_markdown depends on itFast and high-quality TeX math equation rendering with pure Dart and Flutter.
- gpt_markdownflutter_streaming_text_markdown depends on itPowerful Flutter Markdown and LaTeX renderer built for AI streaming outputs.
- flutter_gen_ai_chat_uiBuilt on flutter_streaming_text_markdownFlutter UI kit for AI chat applications with streaming markdown, LaTeX, and tool calls.