onSearchFieldTap property

VoidCallback? onSearchFieldTap
final

Called when the user taps the body of the active (expanded) search field.

Passed directly to TextField.onTap. Useful for navigating to a dedicated search screen, showing a suggestion overlay, or logging an analytics event on search interaction — without needing to own the FocusNode yourself.

Note: this fires on every tap of the field, including taps that merely restore focus after the keyboard was dismissed.

Implementation

final VoidCallback? onSearchFieldTap;