ListChoice
fun ListChoice(onClick: () -> Unit, modifier: Modifier = Modifier, icon: @Composable () -> Unit = {}, description: @Composable () -> Unit = {}, trailingIcon: @Composable () -> Unit = {}, withSeparator: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, title: @Composable () -> Unit)
List choice component.
Represents a menu item. Optionally provide a description, icon or trailingIcon. Separator is drawn by default.
The trailingIcon icon slot is suitable for other end-aligned UI, e.g. badges.
fun ListChoice(modifier: Modifier = Modifier, icon: @Composable () -> Unit = {}, description: @Composable () -> Unit = {}, trailingIcon: @Composable () -> Unit = {}, withSeparator: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, title: @Composable () -> Unit)
List choice component.
Represents a menu item. Optionally provide a description, icon or trailingIcon. Separator is drawn by default. This variant of the component is not clickable.
The trailingIcon icon slot is suitable for other end-aligned UI, e.g. badges.