TextField
fun TextField(textFieldController: TextFieldController, enabled: Boolean, imeAction: ImeAction, modifier: Modifier = Modifier, onTextStateChanged: (TextFieldState?) -> Unit = {}, nextFocusDirection: FocusDirection = FocusDirection.Next, previousFocusDirection: FocusDirection = FocusDirection.Previous, focusRequester: FocusRequester = remember { FocusRequester() })
This is focused on converting an TextFieldController into what is displayed in a textField.
some focus logic
observes values that impact how things show on the screen
Parameters
enabled
Whether to show this TextField as enabled or not. Note that the enabled
attribute of textFieldController is also taken into account to decide if the UI should be enabled.