Hi all, I'd like to use this Android compose funct...
# compose
e
Hi all, I'd like to use this Android compose function that takes a trailing content lambda (documented here:
Copy code
@ExperimentalMaterial3Api
@Composable
fun AlertDialog(
    onDismissRequest: () -> Unit,
    modifier: Modifier = Modifier,
    properties: DialogProperties = DialogProperties(),
    content: @Composable () -> Unit
): Unit
I don't see it in
material3:1.0.1
though, only the other function that takes button lambdas. Any ideas?
s
In general, the docs show the current status of whatever the latest alpha is (afaik). So it may be that this function does not exist on the version you are using, but does exist in the latest alpha release.
e
Aha, thanks, it was added in Version 1.1.0-alpha04