public object ButtonGroupDefaults
Contains the default values used by ButtonGroup
Properties
minimumVerticalListContentPadding
public val minimumVerticalListContentPadding: Dp
The minimum vertical content padding for the list when a ButtonGroup is placed at the top or bottom edge. Recommended for use with androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope's androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope.minimumVerticalContentPadding, which allows items to choose a preferred content padding for the list. TransformingLazyColumn takes its contentPadding as the maximum of the preferred content padding values and its own contentPadding parameter.
ExpansionWidth
public val ExpansionWidth: Dp
How much buttons grow (and neighbors shrink) when pressed.
Spacing
public val Spacing: Dp
Spacing between buttons.
MinWidth
public val MinWidth: Dp
Default for the minimum width of buttons in a ButtonGroup
Functions
fullWidthPaddings
@Composable
public fun fullWidthPaddings(): PaddingValues
Return the recommended padding to use as the contentPadding of a ButtonGroup, when it takes the full width of the screen.