SegmentControlDefaults
Provides default values for the SegmentControl composable function.
Properties
The background color of the segment control.
The padding value of the segment control.
The regular size of a segment control item.
The size of a segment control item in RichSegmentControl.
The small size of a segment control item.
Functions
the default colors for the segment control.
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.
Creates a SegmentControlSize instance with specified height. This function allows you to customize the size of a segment control by providing custom height values. If no values are provided, it uses Dp.Unspecified.
the default vibrants for the segment control.
Creates a new SegmentControlVibrants instance with the specified container vibrant, content vibrant, and selected content vibrant. If the vibrants are not specified, the default vibrants from the color scheme will be used.