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

Spacing between buttons.

Public functions

fullWidthPaddings

Added in 1.0.0-alpha30
@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-alpha30
val ExpansionWidthDp

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

Spacing

Added in 1.0.0-alpha30
val SpacingDp

Spacing between buttons.