AnimatingSegment class

A segment of text that is currently animating (fading in).

Inheritance

Constructors

AnimatingSegment.new(String text, AnimationController controller, Animation<double> fadeAnimation)
Creates an animating text segment.

Properties

controller AnimationController
The animation controller driving the fade-in effect.
final
fadeAnimation Animation<double>
The fade animation, typically ranging from 0.0 to 1.0.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text content of this segment.
finalinherited

Methods

dispose() → void
Disposes the associated animation controller.
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