SequenceGroup class
A subclass of SequenceEntry that treats multiple SequenceEntrys as a single one.
The properties set in the class will be checked only after the last item of children will be done executing.
- Inheritance
-
- Object
- SequenceEntry
- SequenceGroup
Constructors
-
SequenceGroup({required List<
SequenceEntry> children, int? repeatCount = 1, bool skipMidAnimation = true, bool nextOnComplete = false}) -
Builds an instance of SequenceGroup.
The children argument is required, repeatCount must be greater than zero.
const
Properties
-
children
→ List<
SequenceEntry> -
The children of this group, subjected to the execution rules described by this group.
They can either be SequenceItems or SequenceGroups.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- nextOnComplete → bool
-
Whether to automatically jump to the next item in the sequence once this item
has finished playing
finalinherited
- repeatCount → int?
-
The numbers of time to repeat this animation before being marked as complete.
If this value is set to null the animation will loop until manually skipped.
This value must be a greater than 0 integer.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipMidAnimation → bool
-
If this flag is set to true any call to AnimatedSequenceController.skip will
have the current item immediately skipping without waiting for it to complete
before jumping ahead
finalinherited
Methods
-
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.
override