Tab Row With Contour
A TabRowWithContour with COUI style.
A port of the ColorOS 16 segmented control (COUISegmentButtonLayout, default SegmentButton style). For the SegmentButton.Tiny style, pass TabRowDefaults.TabRowWithContourTinyHeight, TabRowDefaults.TabRowWithContourTinyCornerRadius and TabRowDefaults.TabRowWithContourTinyPadding.
Parameters
The text to be displayed in the TabRow.
The selected tab index of the TabRow.
The callback when a tab is selected.
The modifier to be applied to the TabRow.
The colors of the TabRow.
The minimum width of the tab in TabRow.
The maximum width of the tab in TabRow.
The height of the TabRow.
The corner radius of the sliding indicator in TabRow.
The inset between the container capsule and the sliding indicator.
The spacing between tabs in TabRow.
The content alignment of the tab in TabRow.
The LazyListState to be used for the TabRow.
The MutableInteractionSource to be used for the TabRow.
The Indication to be used for the TabRow.