AnimationHelper class

Simple helper class to speed up animation with requestAnimationFrame.

Constructors

AnimationHelper()

Properties

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

Methods

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

Static Methods

requestUpdate(void updateFunction()) → void
Requests that the updateFunction be called. When the animation frame is ready, the updateFunction is executed. Note that any subsequent calls in the same frame will overwrite the updateFunction.
stop() → void
Stops the updating.