An animation that is always stopped at a given value.

The status is always AnimationStatus.forward.

Inheritance

Constructors

AlwaysStoppedAnimation(T value)

Creates an AlwaysStoppedAnimation with the given value.

const

Properties

status AnimationStatus

read-only
value → T

read-only
hashCode int

Get a hash code for this object.

read-only, inherited
isCompleted bool

Whether this animation is stopped at the end.

read-only, inherited
isDismissed bool

Whether this animation is stopped at the beginning.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

addListener(VoidCallback listener) → void

Calls the listener every time the value of the animation changes.

addStatusListener(AnimationStatusListener listener) → void

Calls listener every time the status of the animation changes.

removeListener(VoidCallback listener) → void

Stop calling the listener every time the value of the animation changes.

removeStatusListener(AnimationStatusListener listener) → void

Stops calling the listener every time the status of the animation changes.

toStringDetails() String

Provides a string describing the status of this object, but not including information about the object itself.

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