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.

Dp

The minimum recommended parent top and bottom content padding for a ButtonGroup in a list such as TransformingLazyColumn, based on the screen height.

Public functions

fullWidthPaddings

Added in 1.5.0
@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.

minimumListVerticalContentPadding

val minimumListVerticalContentPaddingDp

The minimum recommended parent top and bottom content padding for a ButtonGroup in a list such as TransformingLazyColumn, based on the screen height.