CupertinoTextField.onEditingComplete or TextField.onEditingComplete
final VoidCallback? onEditingComplete;