AnimatedText class abstract
Abstract base class for text animations.
Constructors
- AnimatedText({required String text, TextAlign textAlign = TextAlign.start, TextStyle? textStyle, required Duration duration})
Properties
- duration → Duration
-
The Duration for the Animation Controller.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- remaining → Duration?
-
Return the remaining Duration for the Animation (when applicable).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
Text for Text widget.
final
- textAlign → TextAlign
-
TextAlign property for Text widget.
final
- textCharacters → Characters
-
Same as text but as Characters.
final
- textStyle → TextStyle?
-
TextStyle property for Text widget.
final
Methods
-
animatedBuilder(
BuildContext context, Widget? child) → Widget - Widget showing animated text, based on animation value(s).
-
completeText(
BuildContext context) → Widget - Widget showing the complete text (when animation is complete or paused). By default, it shows a Text widget, but this may be overridden.
-
initAnimation(
AnimationController controller) → void - Initialize the Animation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
textWidget(
String data) → Widget -
Utility method to create a styled Text widget using the textAlign and
textStyle, but you can specify the
data
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited