onEditingComplete property

VoidCallback? onEditingComplete
final

Called in place of the platform's own end of editing when the user submits (the keyboard's done or Enter): the editor keeps the focus.

A field that stays focused after Enter (a combobox's, a tag picker's) takes Enter here and has no onSubmitted: Flutter restarts the text input of a field told of a submit that keeps its focus, and in a browser the restarted input takes no typing.

Implementation

final VoidCallback? onEditingComplete;