colors

@Composable
fun colors(): SegmentedButtonColors

Creates a SegmentedButtonColors that represents the different colors used in a SegmentedButton in different states.


@Composable
fun colors(activeContainerColor: Color = Color.Unspecified, activeContentColor: Color = Color.Unspecified, activeBorderColor: Color = Color.Unspecified, inactiveContainerColor: Color = Color.Unspecified, inactiveContentColor: Color = Color.Unspecified, inactiveBorderColor: Color = Color.Unspecified, disabledActiveContainerColor: Color = Color.Unspecified, disabledActiveContentColor: Color = Color.Unspecified, disabledActiveBorderColor: Color = Color.Unspecified, disabledInactiveContainerColor: Color = Color.Unspecified, disabledInactiveContentColor: Color = Color.Unspecified, disabledInactiveBorderColor: Color = Color.Unspecified): SegmentedButtonColors

Creates a SegmentedButtonColors that represents the different colors used in a SegmentedButton in different states.

Parameters

activeContainerColor

the color used for the container when enabled and active

activeContentColor

the color used for the content when enabled and active

activeBorderColor

the color used for the border when enabled and active

inactiveContainerColor

the color used for the container when enabled and inactive

inactiveContentColor

the color used for the content when enabled and inactive

inactiveBorderColor

the color used for the border when enabled and active

disabledActiveContainerColor

the color used for the container when disabled and active

disabledActiveContentColor

the color used for the content when disabled and active

disabledActiveBorderColor

the color used for the border when disabled and active

disabledInactiveContainerColor

the color used for the container when disabled and inactive

disabledInactiveContentColor

the color used for the content when disabled and unchecked

disabledInactiveBorderColor

the color used for the border when disabled and inactive