EditableTextFieldColors

data class EditableTextFieldColors(val focusedTextColor: Color, val unfocusedTextColor: Color, val errorTextColor: Color, val focusedContainerColor: Color, val unfocusedContainerColor: Color, val errorContainerColor: Color, val cursorColor: Color, val errorCursorColor: Color, val textSelectionColors: TextSelectionColors, val focusedIndicatorColor: Color, val unfocusedIndicatorColor: Color, val errorIndicatorColor: Color, val focusedLeadingIconColor: Color, val unfocusedLeadingIconColor: Color, val errorLeadingIconColor: Color, val focusedTrailingIconColor: Color, val unfocusedTrailingIconColor: Color, val errorTrailingIconColor: Color, val focusedLabelColor: Color, val unfocusedLabelColor: Color, val errorLabelColor: Color, val focusedPlaceholderColor: Color, val unfocusedPlaceholderColor: Color, val errorPlaceholderColor: Color, val focusedSupportingTextColor: Color, val unfocusedSupportingTextColor: Color, val errorSupportingTextColor: Color, val focusedPrefixColor: Color, val unfocusedPrefixColor: Color, val errorPrefixColor: Color, val focusedSuffixColor: Color, val unfocusedSuffixColor: Color, val errorSuffixColor: Color)

Colors used for FieldFormElements with input types TextBoxFormInput, TextAreaFormInput, DateTimePickerFormInput, SwitchFormInput and ComboBoxFormInput.

Since the FeatureForm uses an OutlinedTextField, the default values are borrowed from OutlinedTextFieldDefaults.colors.

Note that this does not provide disabled colors, since read-only fields are rendered using ReadOnlyFieldColors.

Use FeatureFormDefaults.editableTextFieldColors to create a new instance with the default values.

Since

200.5.0

Constructors

Link copied to clipboard
constructor(focusedTextColor: Color, unfocusedTextColor: Color, errorTextColor: Color, focusedContainerColor: Color, unfocusedContainerColor: Color, errorContainerColor: Color, cursorColor: Color, errorCursorColor: Color, textSelectionColors: TextSelectionColors, focusedIndicatorColor: Color, unfocusedIndicatorColor: Color, errorIndicatorColor: Color, focusedLeadingIconColor: Color, unfocusedLeadingIconColor: Color, errorLeadingIconColor: Color, focusedTrailingIconColor: Color, unfocusedTrailingIconColor: Color, errorTrailingIconColor: Color, focusedLabelColor: Color, unfocusedLabelColor: Color, errorLabelColor: Color, focusedPlaceholderColor: Color, unfocusedPlaceholderColor: Color, errorPlaceholderColor: Color, focusedSupportingTextColor: Color, unfocusedSupportingTextColor: Color, errorSupportingTextColor: Color, focusedPrefixColor: Color, unfocusedPrefixColor: Color, errorPrefixColor: Color, focusedSuffixColor: Color, unfocusedSuffixColor: Color, errorSuffixColor: Color)

Properties

Link copied to clipboard

the cursor color for this text field

Link copied to clipboard

the container color for this text field when in error state

Link copied to clipboard

the cursor color for this text field when in error state

Link copied to clipboard
Link copied to clipboard

the label color for this text field when in error state

Link copied to clipboard

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

Link copied to clipboard

the placeholder color for this text field when in error state

Link copied to clipboard

the prefix color for this text field when in error state

Link copied to clipboard

the suffix color for this text field when in error state

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

the container color for this text field when focused

Link copied to clipboard
Link copied to clipboard

the label color for this text field when focused

Link copied to clipboard

the leading icon color for this text field when focused

Link copied to clipboard

the placeholder color for this text field when focused

Link copied to clipboard

the prefix color for this text field when focused

Link copied to clipboard

the suffix color for this text field when focused

Link copied to clipboard

the supporting text color for this text field when focused

Link copied to clipboard

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

Link copied to clipboard

the trailing icon color for this text field when focused

Link copied to clipboard

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

Link copied to clipboard

the container color for this text field when not focused

Link copied to clipboard
Link copied to clipboard

the label color for this text field when not focused

Link copied to clipboard

the leading icon color for this text field when not focused

Link copied to clipboard

the placeholder color for this text field when not focused

Link copied to clipboard

the prefix color for this text field when not focused

Link copied to clipboard

the suffix color for this text field when not focused

Link copied to clipboard

the supporting text color for this text field when not focused

Link copied to clipboard

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

Link copied to clipboard

the trailing icon color for this text field when not focused