val pagerState = rememberPagerState(pageCount = { images.size })
Column(
modifier = Modifier.fillMaxWidth(),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.spacedBy(8.sdp)
) {
HorizontalPager(
modifier = Modifier
.fillMaxWidth(),
state = pagerState,
) { page ->
Box(
modifier = Modifier
.fillMaxWidth().padding(horizontal = 6.sdp)
.height(80.sdp).border(1.dp, color = colorResource(R.color.wowColor),
RoundedCornerShape(12.dp)
)
) {
}
}
DotsIndicator(
dotSpacing = 6.sdp,
dotCount = images.size,
type = ShiftIndicatorType(shiftSizeFactor = 5f, dotsGraphic = DotGraphic(size = 6.sdp, color = colorResource(R.color.wowColor))),
pagerState = pagerState
)
}
}
How Can i change the color of the dot thats not selected??