colors
the default colors for the segment control.
Return
The default colors for the segment control.
@Composable
Creates a new SegmentControlColors instance with the specified container color, content color, and selected content color. If the colors are not specified, the default colors from the color scheme will be used.
Return
A new SegmentControlColors instance with the specified container color, content color, and selected content color.
Parameters
itemBackgroundColor
The color to be used for the unchecked item background.
itemContentColor
The color to be used for the unchecked item content.
selectedItemBackgroundColor
The color to be used for the checked item background.
selectedItemContentColor
The color to be used for the checked item content.