onEditingComplete property

VoidCallback? onEditingComplete
final

The onEditingComplete callback also runs when the user finishes editing. It's different from onSubmitted because it has a default value which updates the text controller and yields the keyboard focus. Applications that require different behavior can override the default onEditingComplete callback.

Set this to empty function if you don't want the keyboard to automatically close when user presses done/next.

Implementation

final VoidCallback? onEditingComplete;