TabPosition
Kotlin
|Java
@Immutable class TabPosition
kotlin.Any | |
↳ | androidx.compose.material.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.
Summary
Public methods | |
---|---|
Boolean | |
Int |
hashCode() |
String |
toString() |
Properties | |
---|---|
Dp |
the left edge's x position from the start of the TabRow |
Dp |
the right edge's x position from the start of the TabRow |
Dp |
the width of this tab |
Public methods
hashCode
fun hashCode(): Int
toString
fun toString(): String