TextAnimatorSequence class

TextAnimatorSequence allows you to provide a list of TextAnimator widgets and have them show in sequence The sequence can progress based upon a duration set or by the user tapping on the widget (or both)

Inheritance

Constructors

TextAnimatorSequence({Key? key, required List<TextAnimator> children, bool? tapToProceed, bool? loop, Duration? transitionTime, Function? onPressed})
const

Properties

children List<TextAnimator>
List of TextAnimator objects to display in the order you want them displaying
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loop bool?
bool once the end of the sequence is reached, does the list loop back ground to the start again, default is false
final
onPressed Function?
Function callback function to perform if the Text is pressed on
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tapToProceed bool?
bool do you want the user to be able to tab on the widget to proceed to the next text, default is false
final
transitionTime Duration?
Duration The length of time to wait between changing the text once in input transition has completed, not specifying a duration will mean it won't change the sequence automatically
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<TextAnimatorSequence>
Creates the mutable state for this widget at a given location in the tree.
override
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