TabRow(
selectedTabIndex = tabIndex,
modifier = Modifier
.fillMaxWidth()
.wrapContentHeight(),
indicator = {tabPositions->
Box(
modifier = Modifier
.tabIndicatorOffset(tabPositions[tabIndex])
.height(indicatorSize)
.background(color = indicatorColor)
)
}
)
Can we add anything in indicator to move it to top? I couldn't see similar to this "app:tabIndicatorGravity" in jetpack compose.
