Jenga Shutter Button
fun JengaShutterButton(onClick: () -> Unit, contentDescription: String, modifier: Modifier = Modifier, enabled: Boolean = true)(source)
A round camera shutter button: a ring around a filled disc, in the overlay content color so it reads on a camera preview. The disc shrinks while pressed.
Parameters
on Click
called when the button is tapped.
content Description
accessibility label (e.g. "Take photo").
modifier
the Modifier for the button.
enabled
whether the button can be tapped; dimmed when false.
Samples
JengaShutterButton(
onClick = {},
contentDescription = "Take photo",
)Content copied to clipboard