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 decorator or 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 of the input field within the TextField when there is an inside label. Note that the top padding represents the padding above the label in the focused state. The input field is placed directly beneath the label.
Default content padding of the input field within the TextField when the label is null or positioned TextFieldLabelPosition.Above.
A decoration box used to create custom text fields based on Material Design filled text field.
A decorator 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 to create a custom text field based on the styling of a Material filled text field.