AllowedButtonsFilter typedef
Signature for GestureRecognizer.allowedButtonsFilter.
Used to filter the input buttons of incoming pointer events.
The parameter buttons
comes from PointerEvent.buttons.
Implementation
typedef AllowedButtonsFilter = bool Function(int buttons);