Package-level declarations

Types

Link copied to clipboard

Sealed interface representing events triggered by the simple text field. This interface defines basic events that can occur during text input, providing real-time feedback about the input state.

Functions

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

A PCI-compliant simple text input component for handling generic text input.