KontextMenuRepresentation

Interface for creating custom context menu representations.

This interface allows developers to create their own implementation of how a context menu should be displayed. Implementations can range from simple popups to complex dialogs or custom UI components.

See also

Inheritors

Functions

Link copied to clipboard
@Composable
abstract fun <T> Representation(state: ContextMenuState, menuContent: @Composable (items: List<T>, onDismissRequest: () -> Unit?) -> Unit, items: List<T>)

Creates the visual representation of the context menu.