GVars class

(Internal usage)

A class that represents the variables of a GTween animation.

Constructors

GVars({EaseFunction? ease, double? delay, bool? useFrames, int? overwrite, Function? onStart, Function? onComplete, Function? onUpdate, Object? onStartParams, Object? onCompleteParams, Object? onUpdateParams, bool? runBackwards, bool? immediateRender, Map? startAt})
Creates a new instance of GVars.

Properties

delay double?
The delay before starting the animation.
getter/setter pair
ease EaseFunction?
The easing function of the animation.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
immediateRender bool?
Determines whether to immediately render the object at the beginning of the animation.
getter/setter pair
onComplete Function?
The function to call when the animation completes.
getter/setter pair
onCompleteParams CallbackParams?
The parameters to pass to the onComplete function.
getter/setter pair
onStart Function?
The function to call when the animation starts.
getter/setter pair
onStartParams CallbackParams?
The parameters to pass to the onStart function.
getter/setter pair
onUpdate Function?
The function to call when the animation updates.
getter/setter pair
onUpdateParams CallbackParams?
The parameters to pass to the onUpdate function.
getter/setter pair
overwrite int?
Determines how to handle overwriting of a tween.
getter/setter pair
runBackwards bool?
Determines whether to run the animation backwards.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAt Map?
The variables to start the animation at.
getter/setter pair
useFrames bool?
Determines whether to use frames instead of time for the animation.
getter/setter pair

Methods

defaults() → void
Sets default values for variables not set on instantiation.
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

Constants

selfTweenKey → const String
A key to refer to the current tween object when passing parameters to the callbacks.