liveview-native / liveview-native/liveview-client-jetpack

JetPack -> Modifiers -> Position: Modifier.tabIndicatorOffset(currentTabPosition: TabPosition)

Open
#295 0 comments 0 reactions 1 assignee Claimed by @nelson-glauber View on GitHub
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/material3/TabRowDefaults#(androidx.compose.ui.Modifier).tabIndicatorOffset(androidx.compose.material3.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/material3/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/material3/TabRowDefaults#(androidx.compose.ui.Modifier).tabIndicatorOffset(androidx.compose.material3.TabPosition)).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.