vibrants

the default vibrants for the segment control.

Return

The default vibrants for the segment control.


@Composable
fun vibrants(itemBackgroundVibrant: Vibrant = Vibrant.Unspecified, itemContentVibrant: Vibrant = Vibrant.Unspecified, selectedItemBackgroundVibrant: Vibrant = Vibrant.Unspecified, selectedItemContentVibrant: Vibrant = Vibrant.Unspecified): SegmentControlVibrants

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.

Return

A new SegmentControlVibrants instance with the specified container vibrant, content vibrant, and selected content vibrant.

Parameters

itemBackgroundVibrant

The Vibrant to be used for the unchecked item background.

itemContentVibrant

The Vibrant to be used for the unchecked item content.

selectedItemBackgroundVibrant

The Vibrant to be used for the checked item background.

selectedItemContentVibrant

The Vibrant to be used for the checked item content.