gestureRecognizers property

Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers
final

The gestureRecognizers specifies which gestures should be consumed by the web view.

It is possible for other gesture recognizers to be competing with the web view on pointer events, e.g. if the web view is inside a ListView the ListView will want to handle vertical drags. The web view will claim gestures that are recognized by any of the recognizers on this list.

When gestureRecognizers is empty (default), the web view will only handle pointer events for gestures that were not claimed by any other gesture recognizer.

Implementation

final Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers;