Jenga Dropdown Menu Style
class JengaDropdownMenuStyle(val shape: Shape? = null, val width: Dp? = null, val border: BorderStroke? = null, val shadowElevation: Dp? = null, val itemTextStyle: TextStyle? = null, val itemMinHeight: Dp? = null, val itemContentPadding: PaddingValues? = null, val itemColors: JengaDropdownMenuItemColors? = null)(source)
Theme-wide style for every JengaDropdownMenu and JengaDropdownMenuItem, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.dropdownMenu. A null value keeps Jenga's default; arguments passed to a call still win.
Constructors
Link copied to clipboard
constructor(shape: Shape? = null, width: Dp? = null, border: BorderStroke? = null, shadowElevation: Dp? = null, itemTextStyle: TextStyle? = null, itemMinHeight: Dp? = null, itemContentPadding: PaddingValues? = null, itemColors: JengaDropdownMenuItemColors? = null)
Properties
Link copied to clipboard
the outline around the menu.
Link copied to clipboard
the item color set.
Link copied to clipboard
padding inside an item.
Link copied to clipboard
the minimum item height.
Link copied to clipboard
the item label text style.
Link copied to clipboard
the menu shadow elevation.
Functions
Link copied to clipboard
fun copy(shape: Shape? = this.shape, width: Dp? = this.width, border: BorderStroke? = this.border, shadowElevation: Dp? = this.shadowElevation, itemTextStyle: TextStyle? = this.itemTextStyle, itemMinHeight: Dp? = this.itemMinHeight, itemContentPadding: PaddingValues? = this.itemContentPadding, itemColors: JengaDropdownMenuItemColors? = this.itemColors): JengaDropdownMenuStyle