Skip to content
pubscout

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
$ flutter pub add flutter_streaming_text_markdown
Source repository

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.

Works with

Packages commonly used together with flutter_streaming_text_markdown: ones it builds on, ones built on it, and its own family.