Popup Menu Appearance
data class PopupMenuAppearance(val colors: PopupMenuColors, val elevation: Dp = 3.dp, val shape: Shape = RoundedCornerShape(8.dp), val containerHorizontalPadding: Dp = 8.dp, val animationDuration: Int = 500)
Controls the appearance of the popup menu.
Parameters
colors
The colors of the popup menu
elevation
The elevation/shadow of the popup menu
shape
The shape of the popup menu
container Horizontal Padding
The horizontal padding of the popup menu
animation Duration
The duration of the popup menu animations
Constructors
Link copied to clipboard
constructor(colors: PopupMenuColors, elevation: Dp = 3.dp, shape: Shape = RoundedCornerShape(8.dp), containerHorizontalPadding: Dp = 8.dp, animationDuration: Int = 500)
Types
Link copied to clipboard
object Companion
Companion object providing factory methods for creating PopupMenuAppearance instances.