ActionInterval class

The abstract class for an action that changes properties over a time interval, optionally using an easing curve.

Inheritance
Implemented by

Constructors

ActionInterval([double _duration = 0.0, Curve curve ])
Creates a new ActionInterval, typically you will want to pass in a duration to specify how long time the action will take to complete.

Properties

curve ↔ Curve
The animation curve used to ease the animation. [...]
read / write
duration double
The total time it will take to complete the action, in seconds.
read-only
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

Methods

step(double dt) → void
Moves to the next time step in an action, dt is the delta time since the last time step in seconds. Typically this method is called from the ActionController.
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
update(double t) → void
Sets the action to a specific point in time. The t value that is passed in is a normalized value 0.0 to 1.0 of the duration of the action. Every action will always recieve a callback with the end time point (1.0), unless it is cancelled.
inherited

Operators

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