GptMarkdownBlockAnimation enum

How a block plays its entrance once it is complete enough to render.

Prose reveals a character at a time, but a fence, a table or a rule has no meaningful half-state — the delimiter row lands and a full-height table exists. Without an entrance that is a single-frame jump, and everything below it moves. These give the layout somewhere to grow from.

Inheritance
Available extensions

Values

none → const GptMarkdownBlockAnimation

Blocks appear at full size immediately.

fadeIn → const GptMarkdownBlockAnimation

Opacity only. The block occupies its full height from the first frame, so nothing below it moves.

growIn → const GptMarkdownBlockAnimation

Height and opacity together, so the block grows into place and the document expands as smoothly as the text does.

slideUp → const GptMarkdownBlockAnimation

Rises a short distance while fading in, at full height throughout.

scaleIn → const GptMarkdownBlockAnimation

Scales up from slightly small while fading in, at full height throughout.

Properties

affectsLayout → bool
Whether this entrance changes the space the block takes while it plays.
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
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<GptMarkdownBlockAnimation>
A constant List of the values in this enum, in order of their declaration.