dropdownElevation property
The elevation of the dropdown menu. Controls the shadow depth of the dropdown. A higher value will make the dropdown appear elevated above the surrounding content.
By default, the elevation is set to 2, providing a subtle shadow effect.
You can customize the elevation by specifying a different value. Use 0 for no shadow effect.
Implementation
final double? dropdownElevation;