AnimationConfig class

Animation configuration with advanced customizable effects and performance optimizations

Constructors

AnimationConfig({bool enabled = true, Duration duration = const Duration(seconds: 2), Curve curve = Curves.easeInOut, bool reverse = true, (double, double) glowIntensityRange = (0.3, 1.0), (double, double)? scaleRange, (double, double)? rotationRange, bool pulseEnabled = false, Duration pulseDuration = const Duration(milliseconds: 800), Curve pulseCurve = Curves.easeInOut, (double, double) pulseScaleRange = (0.95, 1.05), bool rippleEnabled = false, int rippleCount = 3, Duration rippleDuration = const Duration(seconds: 2), double rippleSpacing = 40.0, (double, double) rippleOpacityRange = (0.3, 0.0), bool breathingEnabled = false, Duration breathingDuration = const Duration(seconds: 4), (double, double) breathingIntensityRange = (0.3, 0.9), (double, double) breathingScaleRange = (0.95, 1.05)})
const

Properties

breathingDuration Duration
Duration for breathing cycle
final
breathingEnabled bool
Enable breathing animation (combined glow + scale)
final
breathingIntensityRange → (double, double)
Glow intensity range for breathing
final
breathingScaleRange → (double, double)
Scale range for breathing
final
curve Curve
Animation curve
final
duration Duration
Duration of one animation cycle
final
enabled bool
Whether animation is enabled
final
glowIntensityRange → (double, double)
Range for glow intensity animation (min, max)
final
hashCode int
The hash code for this object.
no setteroverride
pulseCurve Curve
Curve for pulse animation
final
pulseDuration Duration
Duration for pulse animation
final
pulseEnabled bool
Enable pulse animation (like heartbeat)
final
pulseScaleRange → (double, double)
Scale range for pulse animation
final
reverse bool
Whether to reverse the animation
final
rippleCount int
Number of ripple waves
final
rippleDuration Duration
Duration for ripple animation
final
rippleEnabled bool
Enable ripple waves around the avatar
final
rippleOpacityRange → (double, double)
Opacity range for ripples (start, end)
final
rippleSpacing double
Spacing between ripple waves
final
rotationRange → (double, double)?
Range for rotation animation in radians (min, max) - null means no rotation
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleRange → (double, double)?
Range for scale animation (min, max) - null means no scale animation
final

Methods

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.
override