An object that can produce a value of type T given an Animation as input.

Constructors

Animatable()

Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.

const

Properties

hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

animate(Animation<double> parent) Animation<T>

Returns a new Animation that is driven by the given animation but that takes on values determined by this object.

chain(Animatable<double> parent) Animatable<T>

Returns a new Animatable whose value is determined by first evaluating the given parent and then evaluating this object.

evaluate(Animation<double> animation) → T

The current value of this object for the given animation.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited