WidgetAnimatorSequence class
WidgetAnimatorSequence allows you to provide a list of WidgetAnimator 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
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- WidgetAnimatorSequence
Constructors
-
WidgetAnimatorSequence({Key? key, required List<
WidgetAnimator> children, bool? tapToProceed, bool? loop, Duration? transitionTime, Function? onPressed}) -
const
Properties
-
children
→ List<
WidgetAnimator> -
List of
WidgetAnimator
objects to display in the order you want them displayingfinal - 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 Widget 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 widget 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< WidgetAnimatorSequence> -
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