thrownewWidgetError('Having both a pan gesture recognizer and a scale gesture recognizer is redundant; scale is a superset of pan. Just use the scale gesture recognizer.');
Stringrecognizer=havePan?'pan':'scale';
if(haveVerticalDrag&&haveHorizontalDrag)
thrownewWidgetError('Simultaneously having a vertical drag gesture recognizer, a horizontal drag gesture recognizer, and a $recognizer gesture recognizer will result in the $recognizer gesture recognizer being ignored, since the other two will catch all drags.');
}
returntrue;
});
}
finalWidgetchild;
...
...
@@ -130,151 +148,192 @@ class GestureDetector extends StatefulComponent {