onSubmitted property
Called when the user indicates that they are done editing the text in the field.
See also:
- TextInputAction.next and TextInputAction.previous, which automatically shift the focus to the next/previous focusable item when the user is done editing.
Implementation
final ValueChanged<String>? onSubmitted;