-
public final class SimpleMenuKt
-
-
Method Summary
Modifier and Type Method Description final static UnitSimpleMenu(Modifier modifier, Shape shape, Color overlayColor, Function0<Unit> onDismiss, Function1<ColumnScope, Unit> headerContent, Function1<ColumnScope, Unit> centerContent)Represents a reusable and generic modal menu useful for showing info about selected items. -
-
Method Detail
-
SimpleMenu
@Deprecated(message = Use ChannelActionsSheet or a Material 3 ModalBottomSheet directly. Will be removed in v8.)@Composable() final static Unit SimpleMenu(Modifier modifier, Shape shape, Color overlayColor, Function0<Unit> onDismiss, Function1<ColumnScope, Unit> headerContent, Function1<ColumnScope, Unit> centerContent)
Represents a reusable and generic modal menu useful for showing info about selected items.
- Parameters:
modifier- Modifier for styling.shape- Changes the shape of the dialog.overlayColor- The color applied to the overlay.onDismiss- Handler called when the dialog is dismissed.headerContent- The content shown at the top of the dialog.centerContent- The content shown in the dialog.
-
-
-
-