Overload 1
Common
fun interface TextFieldDecorator
Composable interface that allows to add decorations around text field, such as icon, placeholder, helper messages or similar, and automatically increase the hit target area of the text field.
Functions
Decoration
@Composable
fun Decoration(innerTextField: @Composable () -> Unit)
To allow you to control the placement of the inner text field relative to your decorations, the text field implementation will pass in a framework-controlled composable parameter innerTextField to this method. You must not call innerTextField more than once.