ActionButtonStyle

data class ActionButtonStyle(val fontSize: Float? = null, val fontColor: Color? = null, val height: Float? = null, val lineHeight: Float? = null, val fontWeight: FontWeight? = null, val letterSpacing: Float? = null, val elevation: Float? = null, val borderRadius: Float? = null, val backgroundColor: Color? = null, val textTransform: TextTransform? = null)

The styling for action buttons found in Catch widgets.

The following widgets contain action buttons:

See ActionButtonStyle.create for apps that do not have Compose dependencies used in the primary constructor.

Constructors

Link copied to clipboard
constructor(fontSize: Float? = null, fontColor: Color? = null, height: Float? = null, lineHeight: Float? = null, fontWeight: FontWeight? = null, letterSpacing: Float? = null, elevation: Float? = null, borderRadius: Float? = null, backgroundColor: Color? = null, textTransform: TextTransform? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val backgroundColor: Color? = null

Configures the background color of the button.

Link copied to clipboard
val borderRadius: Float? = null

Configures the border radius of the button.

Link copied to clipboard
val elevation: Float? = null

Configures the elevation of the button which controls the shadow.

Link copied to clipboard
val fontColor: Color? = null

Configures the font color for the button's label.

Link copied to clipboard
val fontSize: Float? = null

Configures the font size for the button's label.

Link copied to clipboard
val fontWeight: FontWeight? = null

Configures the font weight for the button's label.

Link copied to clipboard
val height: Float? = null

Configures the button's height.

Link copied to clipboard
val letterSpacing: Float? = null

Configures the letter spacing for the button's label.

Link copied to clipboard
val lineHeight: Float? = null

Configures the line height for the button's label.

Link copied to clipboard

Transforms casing of text for the button's label.