onSuggestionAdded property

(dynamic Function(String trigger, dynamic suggestion)?) onSuggestionAdded
final

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;