animationStyle property

AnimationStyle? animationStyle
final

Used to override the expansion animation curve and duration.

If AnimationStyle.duration is provided, it will be used instead of duration. If not provided, duration is used, which defaults to 200ms.

If AnimationStyle.curve is provided, it will be used to override curve. If it is null, then curve will be used. Otherwise, defaults to Curves.ease.

If AnimationStyle.reverseCurve is provided, it will be used to override reverseCurve. If it is null, then reverseCurve will be used.

To disable the theme animation, use AnimationStyle.noAnimation.

Implementation

final AnimationStyle? animationStyle;