GptMarkdownAnimation enum
How newly arrived text appears.
Every effect here is expressible as a TextStyle, which is what keeps the reveal cheap: characters mid-entrance become their own TextSpans inside one paragraph, and no effect needs a second render object, a per-glyph layout pass, or a shader compile.
Values
- none → const GptMarkdownAnimation
-
No reveal. The document is built whole, with no ticker and no wrapper — exactly the tree the widget built before the feature existed.
- typewriter → const GptMarkdownAnimation
-
Characters appear at full strength the instant they are revealed.
The reveal still paces itself — this is a typewriter, not a dump — but no individual character animates.
- fade → const GptMarkdownAnimation
-
Characters ramp from transparent to full opacity.
- blurIn → const GptMarkdownAnimation
-
Characters resolve out of a blur while fading in, so the head reads as text coming into focus rather than text switching on.
- wave → const GptMarkdownAnimation
-
Characters land in an accent colour and settle into the text colour, so a bright crest travels along the newest text.
Properties
- animatesCharacters → bool
-
Whether an in-flight character is drawn differently from a settled one.
no setter
- animatesPerCharacter → bool
-
Whether each character needs its own style, rather than its word.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - reveals → bool
-
Whether the reveal paces itself at all, rather than showing everything.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
GptMarkdownAnimation> - A constant List of the values in this enum, in order of their declaration.