TabGroupScope

class TabGroupScope(val state: TabGroupState)

Constructors

Link copied to clipboard
constructor(state: TabGroupState)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun TabGroupScope.Tab(key: TabKey, modifier: Modifier = Modifier, enabled: Boolean = true, indication: Indication = LocalIndication.current, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable () -> Unit)

A single tab in a TabList.

Link copied to clipboard
fun TabGroupScope.TabList(modifier: Modifier = Modifier, shape: Shape = RectangleShape, backgroundColor: Color = Color.Unspecified, orientation: Orientation = Orientation.Horizontal, activateOnFocus: Boolean = true, content: @Composable RowScope.() -> Unit)

A container holding all Tabs that can be selected withing a TabGroup.

Link copied to clipboard

The content panel for a tab.