segmentControlSize

fun segmentControlSize(height: Dp = Dp.Unspecified): SegmentControlSize

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.

Return

A SegmentControlSize instance with the specified height.

Parameters

height

The height of the segment control. Defaults to Dp.Unspecified.