AnimatableInt class Animation

An AnimatableParameter that animates changes to an int through an IntTween.

Inheritance

Constructors

AnimatableInt(int value, {required AnimatableParameterHost host})
Creates an AnimatableParameter that animates changes to an int through an IntTween.

Properties

animatedValue int
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 int
The current value of this AnimatableValue.
getter/setter pairinherited

Methods

createTicker(TickerCallback onTick) Ticker
Creates a ticker with the given callback.
inherited
createTween() Tween<int?>
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