AlertDialog
In Material 3 Compose
@Composable
fun AppBarColumnSample() {
var favorite by remember { mutableStateOf(false) }
AppBarColumn(maxItemCount = 3) {
clickableItem(
onClick = {},
icon = { Icon(Icons.Filled.Edit, contentDescription = "Edit") },
label = "Edit",
)
toggleableItem(
checked = favorite,
onCheckedChange = { favorite = it },
icon = { Icon(Icons.Filled.Favorite, contentDescription = "Favorite") },
label = "Favorite",
)
clickableItem(
onClick = {},
icon = { Icon(Icons.Filled.Share, contentDescription = "Share") },
label = "Share",
)
clickableItem(
onClick = {},
icon = { Icon(Icons.Filled.Settings, contentDescription = "Settings") },
label = "Settings",
)
}
}