Dropdown Header Item
fun DropdownHeaderItem(text: String, modifier: Modifier = Modifier, color: Color = DropdownDefaults.dropdownColors().headerColor, isFirst: Boolean = false)
A non-clickable group-title row shown inside a dropdown popup (COUI coui_popup_list_window_header_item.xml).
Parameters
text
The group title.
modifier
The modifier applied to the header row.
color
The title color.
is First
Whether this header is the first row of the entire popup. Like DropdownImpl, the top edge then absorbs the folded-in list inset carried by DropdownDefaults.FirstLastVerticalPadding.