TabPosition

@Immutable
class TabPosition

Data class that contains information about a tab's position on screen, used for calculating where to place the indicator that shows which tab is selected.

Properties

Link copied to clipboard
val contentWidth: Dp

the content width of this tab. Should be a minimum of 24.dp

Link copied to clipboard
val left: Dp

the left edge's x position from the start of the TabRow

Link copied to clipboard
val right: Dp

the right edge's x position from the start of the TabRow

Link copied to clipboard
val width: Dp

the width of this tab

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String