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.
Parameters
contentPadding
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.
navButtonParams
Navigation button params, default is null which implies default navigation button styling and no content descriptions.
Constructors
Link copied to clipboard
constructor(contentPadding: PaddingValues = PaddingValues.Zero, navButtonParams: NavButtonParams? = null)