onPressed property

void Function(dynamic)? onPressed
final

Callback, called when a searched item is pressed.

Implementation

final void Function(dynamic)? onPressed;