I feel that there is a better way to do this thing, I know that this code works, but I just want to know if there is another (best) way to do this.
Row() {
Text(text = "By signing up, you agree with the ")
Text(
text = "Terms of Service",
modifier = Modifier.clickable { },
color = Color.Blue
)
}
Row(
modifier = Modifier.offset(y = (-20).dp)
){
Text(text = "and ")
Text(
text = "Privacy Policy",
modifier = Modifier
.clickable { },
color = Color.Blue
)
}