RecognizerCallback<T> typedef

T RecognizerCallback ()

Generic signature for callbacks passed to GestureRecognizer.invokeCallback. This allows the GestureRecognizer.invokeCallback mechanism to be generically used with anonymous functions that return objects of particular types.

Implementation

typedef RecognizerCallback<T> = T Function();