RotateAnimatedTextKit class

Animation that displays text elements, rotating them in one at a time.

Rotate example

Inheritance
Annotations
  • @Deprecated('Use AnimatedTextKit with RotateAnimatedText instead.')

Constructors

RotateAnimatedTextKit({Key? key, required List<String> text, TextAlign textAlign = TextAlign.start, TextStyle? textStyle, double? transitionHeight, AlignmentGeometry alignment = Alignment.center, TextDirection textDirection = TextDirection.ltr, Duration duration = const Duration(milliseconds: 2000), Duration pause = const Duration(milliseconds: 500), VoidCallback? onTap, void onNext(int, bool)?, void onNextBeforePause(int, bool)?, VoidCallback? onFinished, bool isRepeatingAnimation = true, int totalRepeatCount = 3, bool repeatForever = false, bool displayFullTextOnTap = false, bool stopPauseOnTap = false})

Properties

animatedTexts List<AnimatedText>
List of AnimatedText to display subsequently in the animation.
finalinherited
displayFullTextOnTap bool
Should the animation ends up early and display full text if you tap on it?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isRepeatingAnimation bool
Set if the animation should not repeat by changing the value of it to false.
finalinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onFinished VoidCallback?
Adds the onFinished VoidCallback to the animated widget.
finalinherited
onNext → void Function(int, bool)?
Adds the onNext callback to the animated widget.
finalinherited
onNextBeforePause → void Function(int, bool)?
Adds the onNextBeforePause callback to the animated widget.
finalinherited
onTap VoidCallback?
Adds the onTap VoidCallback to the animated widget.
finalinherited
pause Duration
Define the Duration of the pause between texts
finalinherited
repeatForever bool
Sets if the animation should repeat forever. isRepeatingAnimation also needs to be set to true if you want to repeat forever.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopPauseOnTap bool
If on pause, should a tap remove the remaining pause time ?
finalinherited
totalRepeatCount int
Sets the number of times animation should repeat
finalinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _AnimatedTextKitState
Creates the mutable state for this widget. See StatefulWidget.createState.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited