Created
March 10, 2023 18:42
-
-
Save gabrielbmoro/5f319b87eecdf861c673d640d7b4838c to your computer and use it in GitHub Desktop.
AccessibilityArticle3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val modifier = Modifier | |
.fillMaxWidth(2f) | |
.clip(CircleShape) | |
.background(answerState.backgroundColor) | |
.padding(8.dp) | |
.toggleable( | |
enabled = isAnswerSelectionEnabled, | |
role = Role.RadioButton, | |
onValueChange = { | |
attemptCallback(answer) | |
}, | |
value = answerState.isSelected, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment