rememberQrCodePainter

@Composable
fun rememberQrCodePainter(data: String, vararg keys: Any?, options: QrOptionsBuilderScope.() -> Unit): QrCodePainter

Create and remember QR code painter

Parameters

data

QR code payload

keys

keys of the options block. QR code will be re-generated when any key is changed.

options

QrOptions builder block


@Composable
fun rememberQrCodePainter(data: String, options: QrOptions): QrCodePainter

Create and remember QR code painter

Parameters

data

QR code payload

options

QR code styling options


@Composable
fun rememberQrCodePainter(data: String, shapes: QrShapes = QrShapes(), colors: QrColors = QrColors(), logo: QrLogo = QrLogo(), background: QrBackground = QrBackground(), errorCorrectionLevel: QrErrorCorrectionLevel = QrErrorCorrectionLevel.Auto, fourEyed: Boolean = false, scale: Float = 1.0f): QrCodePainter


@Composable
fun rememberQrCodePainter(data: String, codeShape: QrCodeShape = QrCodeShape.Default, darkPixelShape: QrPixelShape = QrPixelShape.Default, lightPixelShape: QrPixelShape = QrPixelShape.Default, ballShape: QrBallShape = QrBallShape.Default, frameShape: QrFrameShape = QrFrameShape.Default, centralSymmetry: Boolean = true, darkBrush: QrBrush = QrBrush.Default, lightBrush: QrBrush = QrBrush.Unspecified, ballBrush: QrBrush = QrBrush.Unspecified, frameBrush: QrBrush = QrBrush.Unspecified, logoPainter: Painter? = null, logoSize: Float = 0.25f, logoPadding: QrLogoPadding = QrLogoPadding.Empty, logoShape: QrLogoShape = QrLogoShape.Default, backgroundPainter: Painter? = null, backgroundFill: Brush? = null, backgroundShape: Shape = RectangleShape, errorCorrectionLevel: QrErrorCorrectionLevel = QrErrorCorrectionLevel.Auto, fourEyed: Boolean = false, scale: Float = 1.0f): QrCodePainter

Create and remember QR code painter

See also