animation property
Controls how the overlay animates open and closed.
Defaults to a height + fade reveal. Provide a CustomDropdownAnimation to pick a different built-in transition, tune the duration/curves, disable animation (CustomDropdownAnimation.none) or supply a fully custom transition.
Implementation
final CustomDropdownAnimation animation;