JengaButtonSizeStyle

class JengaButtonSizeStyle(val minHeight: Dp? = null, val shape: Shape? = null, val contentPadding: PaddingValues? = null, val textStyle: TextStyle? = null)(source)

Theme-wide metrics for one JengaButtonSize, part of a JengaButtonStyle. A null value keeps Jenga's default.

Constructors

Link copied to clipboard
constructor(minHeight: Dp? = null, shape: Shape? = null, contentPadding: PaddingValues? = null, textStyle: TextStyle? = null)

Properties

Link copied to clipboard

inner padding.

Link copied to clipboard

the minimum height.

Link copied to clipboard
val shape: Shape?

the button shape.

Link copied to clipboard

the label text style.

Functions

Link copied to clipboard
fun copy(minHeight: Dp? = this.minHeight, shape: Shape? = this.shape, contentPadding: PaddingValues? = this.contentPadding, textStyle: TextStyle? = this.textStyle): JengaButtonSizeStyle