Container
@Composable
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.
Parameters
enabled
whether the text field is enabled
isError
whether the text field's current value is in error
interactionSource
the InteractionSource of the text field. Used to determine if the text field is in focus or not
modifier
the Modifier of this container
colors
TextFieldColors used to resolve colors of the text field
shape
the shape of this container
focusedIndicatorLineThickness
thickness of the indicator line when the text field is focused
unfocusedIndicatorLineThickness
thickness of the indicator line when the text field is not focused