EagerGestureRecognizer constructor

EagerGestureRecognizer({PointerDeviceKind kind })

Create an eager gesture recognizer.

It's possible to limit this recognizer to a specific PointerDeviceKind by providing the optional kind argument. If kind is null, the recognizer will accept pointer events from all device kinds.

Implementation

EagerGestureRecognizer({ PointerDeviceKind kind }) : super(kind: kind);