indicatorLine
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.
Consider using Container, which automatically applies this modifier as well as other text field container styling.
Parameters
whether the text field is enabled
whether the text field's current value is in error
the InteractionSource of the text field. Used to determine if the text field is in focus or not
TextFieldColors used to resolve colors of the text field. If null, defaults to TextFieldDefaults.colors.
the shape of the text field container. Used for clipping the indicator. If null, defaults to TextFieldDefaults.shape.
thickness of the indicator line when the text field is focused
thickness of the indicator line when the text field is not focused