Stylish Exposed Dropdown Menu
The menu of a StylishExposedDropdownMenuBox, wrapping the Material 3 ExposedDropdownMenuDefaults.ExposedDropdownMenu.
Must be called inside the content of StylishExposedDropdownMenuBox so the box can constrain the menu's width to the anchor and its height to the visible window. Populate it with StylishDropdownMenuItem (or any other content) and control expanded / onDismissRequest like a regular dropdown menu.
Parameters
Whether the menu is currently shown.
Called when the user requests dismissal, such as by tapping outside the menu bounds.
Modifier applied to the menu content.
A ScrollState used by the menu's content for vertical scrolling. Defaults to a remembered scroll state.
Whether the menu's width should be constrained to match the anchor's width. Defaults to true.
Shape of the menu surface. Defaults to MenuDefaults.shape.
Background color of the menu. Defaults to MenuDefaults.containerColor.
Tonal elevation of the menu surface. Defaults to MenuDefaults.TonalElevation.
Shadow elevation below the menu. Defaults to MenuDefaults.ShadowElevation.
Border drawn around the menu container. Defaults to null (no border).
The menu content, typically one or more StylishDropdownMenuItems, laid out in a ColumnScope.