Keyframe<T> class abstract

An abstract interface for keyframes in timeline animations.

A keyframe defines how to compute a value at a specific point in a timeline animation. Different implementations provide different interpolation strategies (absolute, relative, or static).

Type Parameters

  • T - The type of value this keyframe produces.

Overview

Use Keyframe implementations like AbsoluteKeyframe, RelativeKeyframe, or StillKeyframe to build complex timeline animations with TimelineAnimation.

See also:

Implementers

Constructors

Keyframe()

Properties

duration Duration
The duration of this keyframe.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compute(TimelineAnimation<T> timeline, int index, double t) → T
Computes the value for this keyframe at the given progress.
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.
inherited