Package-level declarations

Types

Link copied to clipboard

Sealed interface representing events triggered by the security code text field. This interface defines various events that can occur during security code (CVV) input, providing real-time feedback about the input state and validation.

Functions

Link copied to clipboard
fun SecurityCodeTextField(modifier: Modifier = Modifier, state: PCIFieldState, onEvent: (SecurityCodeTextFieldEvent) -> Unit, securityCodeSize: Int = MIN_LENGTH, enabled: Boolean = true, readOnly: Boolean = false, decorationBox: @Composable (innerTextField: @Composable () -> Unit) -> Unit = @Composable { innerTextField -> innerTextField() }, textStyle: TextStyle = MaterialTheme.typography.bodyLarge, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, cursorBrush: Brush = SolidColor(MaterialTheme.colorScheme.primary), visualTransformation: VisualTransformation = VisualTransformation.None)

A PCI-compliant security code input component for entering card CVV/CVC codes.