Tab

private fun SingleChoiceSegmentedButtonRowScope.Tab(    pagerState: PagerState?,     state: TabSelectorState,     tab: TabDetails,     currentIndex: Int,     firstEntry: TabDetails,     lastEntry: TabDetails,     initialTabShape: Shape,     middleShape: Shape,     lastTabShape: Shape)

Custom button tab

Parameters

pagerState

The state used to manage the HorizontalPager

state

The state used to manage this component

tab

The details of the tab

currentIndex

The index related to the tab

firstEntry

The first entry of the tabs list

lastEntry

The last entry of the tabs list

initialTabShape

The shape to use for the first tab of the selector

middleShape

The shape to use for the middle tabs of the selector

lastTabShape

The shape to use for the last tab of the selector