isPointerAllowed method
- PointerDownEvent event
Checks whether or not a pointer is allowed to be tracked by this recognizer.
Implementation
@protected
bool isPointerAllowed(PointerDownEvent event) {
return (supportedDevices == null || supportedDevices!.contains(event.kind))
&& allowedButtonsFilter(event.buttons);
}