popUpAnimationStyle property

AnimationStyle? popUpAnimationStyle
final

Used to override the default animation curves and durations of the popup menu's open and close transitions.

If AnimationStyle.curve is provided, it will be used to override the default popup animation curve. Otherwise, defaults to Curves.linear.

If AnimationStyle.reverseCurve is provided, it will be used to override the default popup animation reverse curve. Otherwise, defaults to Interval(0.0, 2.0 / 3.0).

If AnimationStyle.duration is provided, it will be used to override the default popup animation duration. Otherwise, defaults to 300ms.

To disable the theme animation, use AnimationStyle.noAnimation.

If this is null, then the default animation will be used.

Implementation

final AnimationStyle? popUpAnimationStyle;