AnimationConfig class

Configuration for animation behavior

Constructors

AnimationConfig({Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.easeInOut, Duration delay = Duration.zero, bool autoPlay = true, bool autoReverse = false, bool repeat = false, int? repeatCount})
Creates an animation configuration
const

Properties

autoPlay bool
Whether animation should start automatically
final
autoReverse bool
Whether animation should reverse automatically after completion
final
curve Curve
Animation curve/easing function
final
delay Duration
Delay before animation starts
final
duration Duration
Duration of the animation
final
hashCode int
The hash code for this object.
no setterinherited
repeat bool
Whether animation should repeat
final
repeatCount int?
Number of times to repeat (null for infinite)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Duration? duration, Curve? curve, Duration? delay, bool? autoPlay, bool? autoReverse, bool? repeat, int? repeatCount}) AnimationConfig
Creates a copy with modified properties
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