MenuItemDefaults

MenuItemDefaults

Functions

Link copied to clipboard
@Composable
fun menuItemColors(): MenuItemColors

@Composable
fun menuItemColors(containerColor: Color = Color.Unspecified, titleColor: Color = Color.Unspecified, subtitleColor: Color = Color.Unspecified): MenuItemColors

Creates a MenuItemColors that represents the default container and content colors used in a MenuItem.

Link copied to clipboard

@Composable
fun menuItemVibrants(containerVibrant: Vibrant = Vibrant.Unspecified, titleVibrant: Vibrant = Vibrant.Unspecified, subtitleVibrant: Vibrant = Vibrant.Unspecified): MenuItemVibrants

Creates a MenuItemVibrants that represents the default container and content vibrants used in a MenuItem.