MenuContent

fun MenuScope.MenuContent(modifier: Modifier = Modifier, enter: EnterTransition = AppearInstantly, exit: ExitTransition = DisappearInstantly, alignment: Alignment.Horizontal = Alignment.Start, contents: @Composable () -> Unit)

The content container for the menu items. This composable handles the positioning and animation of the menu content when it is expanded.

Parameters

modifier

Modifier to be applied to the content container.

enter

The enter transition for the content.

exit

The exit transition for the content.

alignment

The horizontal alignment of the content relative to the menu button.

contents

A composable function that defines the content of the menu.