AnimationConfig class

Configuration class for complex multi-property animations.

Constructors

AnimationConfig.new({required Duration duration, required Curve curve, double fadeFrom = 0.0, double fadeTo = 1.0, double scaleFrom = 1.0, double scaleTo = 1.0, Offset slideFrom = Offset.zero, Offset slideTo = Offset.zero})
const

Properties

curve → Curve
final
duration → Duration
final
fadeFrom → double
final
fadeTo → double
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaleFrom → double
final
scaleTo → double
final
slideFrom → Offset
final
slideTo → Offset
final

Methods

animate(AnimationController controller) → AnimatedValues
Creates animations from this config using the given controller.
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