Scrollable

data class Scrollable(val contentPadding: PaddingValues = PaddingValues.Zero, val navButtonParams: NavButtonParams? = null) : TabsBehaviour(source)

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

Constructors

Link copied to clipboard
constructor(contentPadding: PaddingValues = PaddingValues.Zero, navButtonParams: NavButtonParams? = null)

Properties

Link copied to clipboard

Content padding applied to the tabs, default is PaddingValues.Zero. This is intended to be used to align the tab items with the view margins, while allowing the tabs to scroll edge-to-edge.

Link copied to clipboard

Navigation button params, default is null which implies default navigation button styling and no content descriptions.