ButtonGroupDefaults

object ButtonGroupDefaults


Contains the default values used by ButtonGroup

Summary

Public functions

PaddingValues

Return the recommended padding to use as the contentPadding of a ButtonGroup, when it takes the full width of the screen.

Public properties

Dp

How much buttons grow (and neighbors shrink) when pressed.

Dp

Default for the minimum width of buttons in a ButtonGroup

Dp

Spacing between buttons.

Public functions

fullWidthPaddings

Added in 1.0.0-alpha32
@Composable
fun fullWidthPaddings(): PaddingValues

Return the recommended padding to use as the contentPadding of a ButtonGroup, when it takes the full width of the screen.

Public properties

ExpansionWidth

Added in 1.0.0-alpha32
val ExpansionWidthDp

How much buttons grow (and neighbors shrink) when pressed.

MinWidth

Added in 1.0.0-alpha32
val MinWidthDp

Default for the minimum width of buttons in a ButtonGroup

Spacing

Added in 1.0.0-alpha32
val SpacingDp

Spacing between buttons.