SequenceItem class

Single item version of SequenceEntry.

Requires a single AnimatedVectorData to be provided and optionally a colorOverride and a tag.

Inheritance

Constructors

SequenceItem(AnimatedVectorData data, {int? repeatCount = 1, bool skipMidAnimation = true, bool nextOnComplete = false, Color? colorOverride, BlendMode? blendMode, String? tag})
Builds an instance of SequenceItem. The data argument is required, repeatCount must be greater than zero.
const

Properties

blendMode BlendMode?
The blend mode to use when applying colors over this item
final
colorOverride Color?
An optional color that will override the color of this item vector data
final
data AnimatedVectorData
The vector data this sequence item holds
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
tag String?
Used to jump to a specific item in a sequence using the AnimatedSequenceController.jumpTo method
final

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