onSuggestionTap property

(dynamic Function(String data)?) onSuggestionTap
final

Instead of using the default suggestion tap action that fills the textField, you can set your own custom action for it

Implementation

final Function(String data)? onSuggestionTap;