liveview-native / liveview-native/liveview-client-jetpack
JetPack -> Modifiers -> Position: Modifier.tabIndicatorOffset(currentTabPosition: TabPosition)
- Dominant language
- Kotlin
- Stars
- 139
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Doc: https://developer.android.com/reference/kotlin/androidx/compose/material/TabRowDefaults#(androidx.compose.ui.Modifier).tabIndicatorOffset(androidx.compose.material.TabPosition)
[Modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) that takes up all the available width inside the [TabRow](https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#TabRow(kotlin.Int,androidx.compose.ui.Modifier,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,kotlin.Function1,kotlin.Function0,kotlin.Function0)), and then animates the offset of the indicator it is applied to, depending on the [currentTabPosition](https://developer.android.com/reference/kotlin/androidx/compose/material/TabRowDefaults#(androidx.compose.ui.Modifier).tabIndicatorOffset(androidx.compose.material.TabPosition)).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.