Output Rendering · free on pub.dev

Render everything a model writes.

Three Flutter renderers for AI output. gpt_markdown draws the reply and uses the other two for its math and code.

Read the docs

gpt_markdown

The whole reply: Markdown, tables, math and code, correct while it streams.

$ flutter pub add gpt_markdown

val_latex

LaTeX math in pure Dart. Inline, display, and half-written formulas mid-stream.

$ flutter pub add val_latex_flutter

val_highlight

Syntax highlighting for 55 languages in pure Dart, with themes and an editor.

$ flutter pub add val_highlight_flutter

Next · Generative UI

Your answers already look right. Now let them do something.

See Generative UI