editableTextFieldColors

fun editableTextFieldColors(focusedTextColor: Color = MaterialTheme.colorScheme.onSurface, unfocusedTextColor: Color = MaterialTheme.colorScheme.onSurface, errorTextColor: Color = MaterialTheme.colorScheme.onSurface, focusedContainerColor: Color = Color.Transparent, unfocusedContainerColor: Color = Color.Transparent, errorContainerColor: Color = Color.Transparent, cursorColor: Color = MaterialTheme.colorScheme.primary, errorCursorColor: Color = MaterialTheme.colorScheme.error, textSelectionColors: TextSelectionColors = LocalTextSelectionColors.current, focusedIndicatorColor: Color = MaterialTheme.colorScheme.primary, unfocusedIndicatorColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorIndicatorColor: Color = MaterialTheme.colorScheme.error, focusedLeadingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedLeadingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorLeadingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, focusedTrailingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedTrailingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorTrailingIconColor: Color = MaterialTheme.colorScheme.error, focusedLabelColor: Color = MaterialTheme.colorScheme.primary, unfocusedLabelColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorLabelColor: Color = MaterialTheme.colorScheme.error, focusedPlaceholderColor: Color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.75f), unfocusedPlaceholderColor: Color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.75f), errorPlaceholderColor: Color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.75f), focusedSupportingTextColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedSupportingTextColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorSupportingTextColor: Color = MaterialTheme.colorScheme.error, focusedPrefixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedPrefixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorPrefixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, focusedSuffixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedSuffixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorSuffixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant): EditableTextFieldColors

Creates an instance EditableTextFieldColors with default values from MaterialTheme.

Since

200.5.0

Parameters

focusedTextColor

the color used for the input text of this text field when focused

unfocusedTextColor

the color used for the input text of this text field when not focused

errorTextColor

the color used for the input text of this text field when in error state

focusedContainerColor

the container color for this text field when focused

unfocusedContainerColor

the container color for this text field when not focused

errorContainerColor

the container color for this text field when in error state

cursorColor

the cursor color for this text field

errorCursorColor

the cursor color for this text field when in error state

textSelectionColors

the colors used when the input text of this text field is selected

focusedLeadingIconColor

the leading icon color for this text field when focused

unfocusedLeadingIconColor

the leading icon color for this text field when not focused

errorLeadingIconColor

the leading icon color for this text field when in error state

focusedTrailingIconColor

the trailing icon color for this text field when focused

unfocusedTrailingIconColor

the trailing icon color for this text field when not focused

errorTrailingIconColor

the trailing icon color for this text field when in error state

focusedLabelColor

the label color for this text field when focused

unfocusedLabelColor

the label color for this text field when not focused

errorLabelColor

the label color for this text field when in error state

focusedPlaceholderColor

the placeholder color for this text field when focused

unfocusedPlaceholderColor

the placeholder color for this text field when not focused

errorPlaceholderColor

the placeholder color for this text field when in error state

focusedSupportingTextColor

the supporting text color for this text field when focused

unfocusedSupportingTextColor

the supporting text color for this text field when not focused

errorSupportingTextColor

the supporting text color for this text field when in error state

focusedPrefixColor

the prefix color for this text field when focused

unfocusedPrefixColor

the prefix color for this text field when not focused

errorPrefixColor

the prefix color for this text field when in error state

focusedSuffixColor

the suffix color for this text field when focused

unfocusedSuffixColor

the suffix color for this text field when not focused

errorSuffixColor

the suffix color for this text field when in error state