StreamingTextConfig class
Configuration class for streaming text animations
Constructors
Properties
- chunkSize → int
-
The number of grapheme clusters to reveal at once when not in
word-by-word mode. Ignored in word-by-word mode. See
StreamingTextMarkdown.chunkSize.
final
- fadeInCurve → Curve
-
The curve used for the fade-in animation.
final
- fadeInDuration → Duration
-
Duration of the fade-in animation.
final
- fadeInEnabled → bool
-
Whether each character (or word) fades in as it is revealed.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typingSpeed → Duration
-
The speed at which each character or word appears.
final
- wordByWord → bool
-
Whether to reveal text word by word instead of character by character.
final
Methods
-
copyWith(
{Duration? typingSpeed, bool? wordByWord, int? chunkSize, bool? fadeInEnabled, Duration? fadeInDuration, Curve? fadeInCurve}) → StreamingTextConfig - Creates a copy with modified parameters
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override