streaming/reveal_effect library

How streamed content arrives: the character reveal at the head, and the entrance a finished block plays.

Two axes, deliberately. A reveal head and a block entrance answer different questions — "how does this letter appear" and "how does this table appear" — and pinning them to a single preset forces a new preset for every combination. Kept apart they compose: blurred text arriving inside a table that grows into place is two independent choices, not a third enum value.

Enums

GptMarkdownAnimation
How newly arrived text appears.
GptMarkdownBlockAnimation
How a block plays its entrance once it is complete enough to render.

Functions

revealStyleFor(GptMarkdownAnimation effect, double progress, Color color) TextStyle?
The style an in-flight character is drawn with.