ButtonSize

interface ButtonSize

Size configuration for a Button, including contentPadding, font, and minHeight. Implementations of this interface customize the appearance and dimensions of Button.

Inheritors

Properties

Link copied to clipboard

Padding values defining the spacing around the content of the button.

Link copied to clipboard
abstract val font: TextStyle

Text style for the button content.

Link copied to clipboard
open val minHeight: Dp

Minimum height required for the button to ensure proper visibility and touchability. By default, it calculates the height based on the font and contentPadding.