OptionPopup

fun OptionPopup(state: UseCaseState, selection: OptionSelection, config: OptionConfig = OptionConfig(), header: Header? = null, alignment: Alignment = Alignment.TopStart, offset: IntOffset = IntOffset(0, 0), properties: PopupProperties = PopupProperties())

Option popup for the use-case to display a list or grid of options.

Parameters

state

The state of the sheet.

selection

The selection configuration for the dialog.

config

The general configuration for the dialog.

header

The header to be displayed at the top of the dialog.

alignment

The alignment of the popup.

offset

The offset of the popup.

properties

PopupProperties for further customization of this popup's behavior.