Chethan
12/15/2020, 11:30 AMval presentSnackbar = remember { mutableStateOf(true) }
if (presentSnackbar.value)
Snackbar(
text = { Text(text = "This is a snackbar with a lot of text, that way it makes sense to use the new line!") },
action = {
ClickableText(
text = AnnotatedString("Dismiss"),
onClick = { presentSnackbar.value = false }
)
},
actionOnNewLine = true
)