Jenga Scan Feedback
A full-screen scan-result indicator: an accent border and a centered status icon that "pop" in, overlaid on a camera preview to confirm the outcome of a scan at a glance.
Render it conditionally; it plays its entrance once each time it enters composition (key the call site on the scan so a new result re-pops), and stays visible until the caller removes it (e.g. on navigation or after a delay).
Parameters
status
the outcome to celebrate or warn about; drives the accent + icon.
modifier
the Modifier for this overlay (typically fillMaxSize).
Samples
JengaScanFeedback(
status = JengaScannerStatus.Success,
)Content copied to clipboard