RemoteButtonGroupDefaults

object RemoteButtonGroupDefaults


Contains the default values used by RemoteButtonGroup

Summary

Public functions

RemotePaddingValues

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

Public properties

RemoteDp

Default additional width (delta) added to a pressed button's resting width in RemoteButtonGroup, rather than an absolute target width, while neighboring button(s) shrink by the same total amount.

RemoteDp

Default for the minimum width of buttons in a RemoteButtonGroup.

RemoteDp

Spacing between buttons.

Public functions

fullWidthPaddings

Added in 1.0.0-alpha16
fun fullWidthPaddings(): RemotePaddingValues

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

Returns
RemotePaddingValues

the recommended RemotePaddingValues for a full-width RemoteButtonGroup

Public properties

ExpansionWidth

Added in 1.0.0-alpha16
val ExpansionWidth: RemoteDp

Default additional width (delta) added to a pressed button's resting width in RemoteButtonGroup, rather than an absolute target width, while neighboring button(s) shrink by the same total amount.

MinWidth

Added in 1.0.0-alpha16
val MinWidth: RemoteDp

Default for the minimum width of buttons in a RemoteButtonGroup.

Spacing

Added in 1.0.0-alpha16
val Spacing: RemoteDp

Spacing between buttons.