TabBarColors

data class TabBarColors(val backgroundColor: Color, val tabColor: Color, val selectedTabColor: Color, val textColor: Color, val selectedTextColor: Color, val iconColor: Color = textColor, val selectedIconColor: Color = selectedTextColor)

Color scheme for the document tab bar, com.pspdfkit.compose.tabs.composables.NutrientTabBar.

The selected tab is filled with selectedTabColor; unselected tabs are filled with tabColor and, when the tabs touch, separated by a thin strip of selectedTabColor at their end edge.

Constructors

Link copied to clipboard
constructor(backgroundColor: Color, tabColor: Color, selectedTabColor: Color, textColor: Color, selectedTextColor: Color, iconColor: Color = textColor, selectedIconColor: Color = selectedTextColor)

Types

Link copied to clipboard
object Companion

Companion object providing factory methods for TabBarColors.

Properties

Link copied to clipboard

Background of the bar behind the tabs.

Link copied to clipboard

Tint of the close button on an unselected tab. Defaults to textColor.

Link copied to clipboard

Tint of the close button on the selected tab. Defaults to selectedTextColor.

Link copied to clipboard

Fill of the selected tab, and the color of the separator between unselected tabs.

Link copied to clipboard

Title color of the selected tab.

Link copied to clipboard

Fill of an unselected tab.

Link copied to clipboard

Title color of an unselected tab.