onEditingComplete property
The onEditingComplete callback runs when editing is finished. It differs from onSubmitted by having a default value which updates textController and yields keyboard focus.
Set this to empty function if keyboard should not close automatically on 'done' or 'next' press.
Implementation
final VoidCallback? onEditingComplete;