extends

ScaleGestureRecognizer

@override

void

addAllowedPointer

PointerEvent

event

// insert custom handling of event here...

super

addAllowedPointer

event

);

The new method declaration will cause this code to fail with the following
error message:

Migration guide

Code before migration:

class

CustomGestureRecognizer

extends

ScaleGestureRecognizer

@override

void

addAllowedPointer

PointerEvent

event

// insert custom handling of event here...

super

addAllowedPointer

event

);

Code after migration:

class