TweenSequenceItem<T> class Null safety

A simple holder for one element of a TweenSequence.

Constructors

TweenSequenceItem({required Animatable<T> tween, required double weight})
Construct a TweenSequenceItem. [...]
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tween Animatable<T>
Defines the value of the TweenSequence for the interval within the animation's duration indicated by weight and this item's position in the list of items. [...]
final
weight double
An arbitrary value that indicates the relative percentage of a TweenSequence animation's duration when tween will be used. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited