Container
@Composable
Composable that draws a default container for an OutlinedTextField with a border stroke. You can apply it to a BasicTextField using DecorationBox to create a custom text field based on the styling of a Material outlined text field. The OutlinedTextField 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
focusedBorderThickness
thickness of the border when the text field is focused
unfocusedBorderThickness
thickness of the border when the text field is not focused