ShowQrCodeDialog
fun ShowQrCodeDialog(title: @Composable () -> Unit? = null, text: @Composable () -> Unit? = null, additionalContent: @Composable () -> Unit? = null, dismissButton: String, data: String, onDismiss: () -> Unit, modifier: Modifier? = null)
Renders a QR code and shows it in a dialog.
Parameters
title
The title of the dialog.
text
The description to include in the dialog, displayed above the QR code.
additionalContent
Content which is displayed below the QR code.
dismissButton
The content for the dismiss button.
data
the QR code to show, e.g. mdoc:owBjMS4... or https://github.com/....
onDismiss
called when the dismiss button is pressed.
modifier
A Modifier or null
.