Source set: Android
class TabColors internal constructor(
internal val contentColor: Color,
internal val inactiveContentColor: Color = contentColor.copy(alpha = 0.4f),
internal val selectedContentColor: Color,
internal val focusedContentColor: Color,
internal val focusedSelectedContentColor: Color,
internal val disabledContentColor: Color,
internal val disabledInactiveContentColor: Color = disabledContentColor.copy(alpha = 0.4f),
internal val disabledSelectedContentColor: Color,
)
Represents the colors used in a tab in different states.
- See
TabDefaults.pillIndicatorTabColorsfor the default colors used in a Tab when using a - See
TabDefaults.underlinedIndicatorTabColorsfor the default colors used in a Tab when
Pill indicator.
using an Underlined indicator
Functions
equals
Source set: Android
override fun equals(other: Any?): Boolean
hashCode
Source set: Android
override fun hashCode(): Int