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
the color used for the input text of this text field when focused
the color used for the input text of this text field when not focused
the color used for the input text of this text field when in error state
the container color for this text field when focused
the container color for this text field when not focused
the container color for this text field when in error state
the cursor color for this text field
the cursor color for this text field when in error state
the colors used when the input text of this text field is selected
the leading icon color for this text field when focused
unfocusedLeadingIconColor
the leading icon color for this text field when not focused
the leading icon color for this text field when in error state
the trailing icon color for this text field when focused
unfocusedTrailingIconColor
the trailing icon color for this text field when not focused
the trailing icon color for this text field when in error state
the label color for this text field when focused
the label color for this text field when not focused
the label color for this text field when in error state
the placeholder color for this text field when focused
unfocusedPlaceholderColor
the placeholder color for this text field when not focused
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
the supporting text color for this text field when in error state
the prefix color for this text field when focused
the prefix color for this text field when not focused
the prefix color for this text field when in error state
the suffix color for this text field when focused
the suffix color for this text field when not focused
the suffix color for this text field when in error state