Package-level declarations
Types
Link copied to clipboard
class DropdownItemIcon(val modifier: Modifier = Modifier, @DrawableRes val icon: Int = R.drawable.ic_btn_share, val tint: Color = Color.DarkGray)
Link copied to clipboard
class DropdownItemText(val modifier: Modifier = Modifier, val color: Color = Color.Unspecified, val fontSize: TextUnit = TextUnit.Unspecified, val fontStyle: FontStyle? = null, val fontWeight: FontWeight? = null, val fontFamily: FontFamily? = null, val letterSpacing: TextUnit = TextUnit.Unspecified, val textDecoration: TextDecoration? = null, val textAlign: TextAlign? = null, val maxLines: Int = Int.MAX_VALUE, val lineHeight: TextUnit = TextUnit.Unspecified, val overflow: TextOverflow = TextOverflow.Clip, val softWrap: Boolean = true, val onTextLayout: (TextLayoutResult) -> Unit = {})
Functions
Link copied to clipboard
fun DropdownItem(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, contentPadding: PaddingValues = MenuDefaults.DropdownMenuItemContentPadding, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
fun DropdownItemOption(title: String, dropdownItemIcon: DropdownItemIcon = DropdownItemIcon(), dropdownItemText: DropdownItemText = DropdownItemText(), style: TextStyle = LocalTextStyle.current)