AllowedButtonsFilter typedef

AllowedButtonsFilter = bool Function(int buttons)

Signature for allowedButtonsFilter in GestureRecognizer. Used to filter the input buttons of incoming pointer events. The parameter buttons comes from PointerEvent.buttons.

Implementation

typedef AllowedButtonsFilter = bool Function(int buttons);