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.5.0-beta06
@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

val ExpansionWidthDp

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

MinWidth

val MinWidthDp

Default for the minimum width of buttons in a ButtonGroup

Spacing

val SpacingDp

Spacing between buttons.