onSuggestionAdded property
When a suggestion has been tapped and added to the text field, it will be returned. This allows you to, say, update the #hashtag list when an @mention has been added.
Implementation
final Function(String trigger, dynamic suggestion)? onSuggestionAdded;