TabsBehaviour

sealed class TabsBehaviour(source)

TabsBehaviour is used to define the behaviour of the tabs.

Inheritors

Types

Link copied to clipboard
data object Fluid : TabsBehaviour

Tabs will fill the max width and each tab will have the same width.

Link copied to clipboard
data class Scrollable(val contentPadding: PaddingValues = PaddingValues.Zero, val navButtonParams: NavButtonParams? = null) : TabsBehaviour

Tabs will be scrollable if there are more tabs than can fit on the screen.