App Selection
fun AppSelection(modifier: Modifier = Modifier, expanded: Boolean, selectedOption: AppSelectionOption, options: List<AppSelectionOption>, onExpandedChange: (Boolean) -> Unit, onOptionSelected: (AppSelectionOption) -> Unit)
A customizable selection component using an exposed dropdown menu.
Parameters
modifier
The Modifier to be applied to the selection component.
expanded
Whether the dropdown menu is currently expanded.
selected Option
The currently selected AppSelectionOption.
options
The list of AppSelectionOption to display.
on Expanded Change
Callback when the expanded state changes.
on Option Selected
Callback when an option is selected.