TextFieldDefaults
Contains the default values used by TextField. For defaults used in OutlinedTextField, see OutlinedTextFieldDefaults.
Properties
The default thickness of the indicator line in TextField in focused state.
The default thickness of the indicator line in TextField in unfocused state.
Functions
Creates a TextFieldColors that represents the default input text, container, and content colors (including label, placeholder, icons, etc.) used in a TextField.
Composable that draws a default container for a TextField with an indicator line at the bottom. You can apply it to a BasicTextField using DecorationBox to create a custom text field based on the styling of a Material filled text field. The TextField component applies it automatically.
Default content padding applied to TextField when there is a label.
Default content padding applied to TextField when the label is null.
A decoration box used to create custom text fields based on Material Design filled text field.
A modifier to draw a default bottom indicator line for TextField. You can apply it to a BasicTextField or to DecorationBox to create a custom text field based on the styling of a Material filled text field.