AnimatableColor class Animation

An AnimatableParameter that animates changes to a Color through a ColorTween.

Inheritance

Constructors

AnimatableColor(Color value, {required AnimatableParameterHost host})
Creates an AnimatableParameter that animates changes to a Color through a ColorTween.

Properties

animatedValue Color
The value of this AnimatableValue that is currently used when rendering the UI.
no setterinherited
animationStatus AnimationStatus?
The current animation status of this parameter, if it is animating.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Color
The current value of this AnimatableValue.
getter/setter pairinherited

Methods

createTicker(TickerCallback onTick) Ticker
Creates a ticker with the given callback.
inherited
createTween() Tween<Color?>
Returns a Tween that the AnimationImpl can use to interpolate between value and animatedValue.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
dispose() → void
Disposes this parameter and stops any running animation.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited