ExamerSingleLineTextField

@Composable
fun ExamerSingleLineTextField(    modifier: Modifier = Modifier,     value: String,     placeholder: @Composable () -> Unit? = null,     leadingIcon: @Composable () -> Unit? = null,     trailingIcon: @Composable () -> Unit? = null,     keyboardActions: KeyboardActions = KeyboardActions.Default,     isError: Boolean = false,     visualTransformation: VisualTransformation = VisualTransformation.None,     label: @Composable () -> Unit? = null,     onValueChange: (String) -> Unit)

A single lined material themed OutlinedTextField with custom color presets that match the app's theme.

Parameters

modifier

a Modifier for this text field

value

the input text to be shown in the text field

placeholder

the optional placeholder to be displayed when the text field is in focus and the input text is empty.

leadingIcon

the optional leading icon to be displayed at the beginning of the text field container.

trailingIcon

the optional trailing icon to be displayed at the end of the text field container

keyboardActions

keyboardActions when the input service emits an IME action, the corresponding callback is called. KeyboardOptions.imeAction

isError

indicates if the text field's current value is in error. If set to true, the label, bottom indicator and trailing icon by default will be displayed in error color

visualTransformation

transforms the visual representation of the input value

label

the optional label to be displayed inside the text field container.

onValueChange

the callback that is triggered when the input service updates the text. An updated text comes as a parameter of the callback