onSelected property

void Function(dynamic value) onSelected
final

Called with the value when the user presses Enter or picks a suggestion. Typed values are passed as a String, and picked suggestions as their toString().

Implementation

final void Function(dynamic value) onSelected;