SelectItemsParams
data class SelectItemsParams<T>(val items: List<T>, val itemContent: @Composable (T) -> Unit, val onItemSelected: (T) -> Unit, val onDismissRequest: () -> Unit, val itemContentPadding: PaddingValues = MenuDefaults.DropdownMenuItemContentPadding, val fluidMenu: Boolean = false, val selectedItem: T? = null)
Class that controls the aspects related with the Select items
Properties
Link copied to clipboard
Composable function of how each item is going to be drawn.
Link copied to clipboard
The padding applied to the content of this menu item.
Link copied to clipboard
Called when the user requests to dismiss the menu, such as by tapping outside the menu's bounds.
Link copied to clipboard
The callback that is triggered when one option is selected. Selected object comes as a parameter of the callback.
Link copied to clipboard