RootVectorAnimationProperties class

An AnimationProperties subclass for RootVectorElement.

It allows to animate the RootVectorElement.alpha property.

Constructors

RootVectorAnimationProperties({AnimationStepSequence<double>? alpha})
Build a new instance of RootVectorAnimationProperties.
const

Properties

alpha → AnimationStepSequence<double>?
A sequence of steps to animate RootVectorElement.alpha.
final
checkedFields List<AnimationStepSequence?>
A list of sequences that will be checked in ensureIntervalsAreValid. Usually every sequence field will be added to this.
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ensureIntervalsAreValid() → void
Make sure every interval in this properties sequences is valid. Intervals are valid when they don't overlap with each other in the same sequence.
inherited
evaluate(double progress, Duration animationDuration, {double? defaultAlpha}) → EvaluatedRootVectorAnimationProperties
Evaluate the various sequences and collapse them to a single value based on the progress passed in. The return value is a Record that contains each field resolved value.
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