enableTapHandling property

bool enableTapHandling
final

Whether to wrap the widget returned by builder with a GestureDetector that opens the search view route when tapped.

Defaults to true.

Set this to false if the widget returned by builder handles its own tap gestures (such as a SearchBar or IconButton) to avoid duplicate gestures and semantics actions.

Implementation

final bool enableTapHandling;